New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/sparse

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/sparse - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

amatrix.d.ts

@@ -1,2 +0,2 @@

import type { NzEntry } from "./api";
import type { NzEntry } from "./api.js";
export declare abstract class ASparseMatrix {

@@ -3,0 +3,0 @@ m: number;

@@ -6,2 +6,10 @@ # Change Log

## [0.2.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.2.0...@thi.ng/sparse@0.2.1) (2021-10-13)
**Note:** Version bump only for package @thi.ng/sparse
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/sparse@0.1.89...@thi.ng/sparse@0.2.0) (2021-10-12)

@@ -8,0 +16,0 @@

@@ -1,5 +0,5 @@

import { ASparseMatrix } from "./amatrix";
import type { NzEntry } from "./api";
import { CSC } from "./csc";
import { CSR } from "./csr";
import { ASparseMatrix } from "./amatrix.js";
import type { NzEntry } from "./api.js";
import { CSC } from "./csc.js";
import { CSR } from "./csr.js";
export declare class COO extends ASparseMatrix {

@@ -6,0 +6,0 @@ static fromDense(m: number, n: number, data: ArrayLike<number>): COO;

import { ensureIndex2 } from "@thi.ng/errors/out-of-bounds";
import { partition } from "@thi.ng/transducers/partition";
import { ASparseMatrix } from "./amatrix";
import { CSC } from "./csc";
import { CSR } from "./csr";
import { ASparseMatrix } from "./amatrix.js";
import { CSC } from "./csc.js";
import { CSR } from "./csr.js";
export class COO extends ASparseMatrix {

@@ -7,0 +7,0 @@ static fromDense(m, n, data) {

@@ -1,3 +0,3 @@

import { ASparseMatrix } from "./amatrix";
import type { NzEntry } from "./api";
import { ASparseMatrix } from "./amatrix.js";
import type { NzEntry } from "./api.js";
export declare class CSC extends ASparseMatrix {

@@ -4,0 +4,0 @@ /**

import { assert } from "@thi.ng/errors/assert";
import { ensureIndex2 } from "@thi.ng/errors/out-of-bounds";
import { ASparseMatrix } from "./amatrix";
import { at, compress, diag, setAt } from "./compressed";
import { ASparseMatrix } from "./amatrix.js";
import { at, compress, diag, setAt } from "./compressed.js";
export class CSC extends ASparseMatrix {

@@ -6,0 +6,0 @@ /**

@@ -1,3 +0,3 @@

import { ASparseMatrix } from "./amatrix";
import type { NzEntry } from "./api";
import { ASparseMatrix } from "./amatrix.js";
import type { NzEntry } from "./api.js";
export declare class CSR extends ASparseMatrix {

@@ -4,0 +4,0 @@ /**

import { assert } from "@thi.ng/errors/assert";
import { ensureIndex2 } from "@thi.ng/errors/out-of-bounds";
import { ASparseMatrix } from "./amatrix";
import { at, compress, diag, remove, setAt } from "./compressed";
import { ASparseMatrix } from "./amatrix.js";
import { at, compress, diag, remove, setAt } from "./compressed.js";
export class CSR extends ASparseMatrix {

@@ -6,0 +6,0 @@ /**

@@ -1,6 +0,6 @@

import { ASparseMatrix } from "./amatrix";
import type { NzEntry } from "./api";
import { CSC } from "./csc";
import { CSR } from "./csr";
import { SparseVec } from "./vec";
import { ASparseMatrix } from "./amatrix.js";
import type { NzEntry } from "./api.js";
import { CSC } from "./csc.js";
import { CSR } from "./csr.js";
import { SparseVec } from "./vec.js";
export declare class Diag extends ASparseMatrix {

@@ -7,0 +7,0 @@ static identity(m: number): Diag;

import { assert } from "@thi.ng/errors/assert";
import { ensureIndex2 } from "@thi.ng/errors/out-of-bounds";
import { ASparseMatrix } from "./amatrix";
import { CSC } from "./csc";
import { CSR } from "./csr";
import { SparseVec } from "./vec";
import { ASparseMatrix } from "./amatrix.js";
import { CSC } from "./csc.js";
import { CSR } from "./csr.js";
import { SparseVec } from "./vec.js";
export class Diag extends ASparseMatrix {

@@ -8,0 +8,0 @@ static identity(m) {

@@ -1,9 +0,9 @@

export * from "./api";
export * from "./amatrix";
export * from "./compressed";
export * from "./coo";
export * from "./csc";
export * from "./csr";
export * from "./diag";
export * from "./vec";
export * from "./api.js";
export * from "./amatrix.js";
export * from "./compressed.js";
export * from "./coo.js";
export * from "./csc.js";
export * from "./csr.js";
export * from "./diag.js";
export * from "./vec.js";
//# sourceMappingURL=index.d.ts.map

@@ -1,8 +0,8 @@

export * from "./api";
export * from "./amatrix";
export * from "./compressed";
export * from "./coo";
export * from "./csc";
export * from "./csr";
export * from "./diag";
export * from "./vec";
export * from "./api.js";
export * from "./amatrix.js";
export * from "./compressed.js";
export * from "./coo.js";
export * from "./csc.js";
export * from "./csr.js";
export * from "./diag.js";
export * from "./vec.js";
{
"name": "@thi.ng/sparse",
"version": "0.2.0",
"version": "0.2.1",
"description": "Sparse vector & matrix implementations",

@@ -36,8 +36,8 @@ "type": "module",

"dependencies": {
"@thi.ng/api": "^8.0.0",
"@thi.ng/errors": "^2.0.0",
"@thi.ng/transducers": "^8.0.0"
"@thi.ng/api": "^8.0.1",
"@thi.ng/errors": "^2.0.1",
"@thi.ng/transducers": "^8.0.1"
},
"devDependencies": {
"@thi.ng/testament": "^0.1.0"
"@thi.ng/testament": "^0.1.1"
},

@@ -59,2 +59,5 @@ "keywords": [

},
"engines": {
"node": ">=12.7"
},
"files": [

@@ -101,3 +104,3 @@ "*.js",

},
"gitHead": "9ac1344b38b565eb894306fbf72233b6c0b2d115"
"gitHead": "2e6b3d7c0f4c5686c1e9bdb4902ed7d3f90bcc19"
}

@@ -50,6 +50,7 @@ <!-- This file is generated - DO NOT EDIT! -->

For NodeJS (v14.6+):
For Node.js REPL:
```text
node --experimental-specifier-resolution=node --experimental-repl-await
# with flag only for < v16
node --experimental-repl-await

@@ -56,0 +57,0 @@ > const sparse = await import("@thi.ng/sparse");

import type { FnN2 } from "@thi.ng/api";
import type { NzEntry } from "./api";
import type { NzEntry } from "./api.js";
export declare type BinOp = FnN2;

@@ -4,0 +4,0 @@ export declare class SparseVec {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc