@danielsimonjr/mathts-tensor 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +21 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # @danielsimonjr/mathts-tensor
2
+
3
+ Rank-n tensor for [MathTS](https://github.com/danielsimonjr/mathts).
4
+
5
+ Rank-N dense tensors for MathTS, backed by a single `Float64Array` with shape/stride metadata. Built on `@danielsimonjr/mathts-matrix`.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ npm install @danielsimonjr/mathts-tensor
11
+ ```
12
+
13
+ ## What it provides
14
+
15
+ - `Tensor` construction from nested arrays / flat data + shape.
16
+ - Elementwise ops, reshaping, broadcasting, reductions, and contraction.
17
+ - The substrate for `@danielsimonjr/mathts-autograd`.
18
+
19
+ ## License
20
+
21
+ MIT (c) Daniel Simon Jr.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielsimonjr/mathts-tensor",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Rank-N dense Tensor type for MathTS with Float64Array-backed storage",
5
5
  "author": "Daniel Simon Jr.",
6
6
  "license": "MIT",
@@ -31,8 +31,8 @@
31
31
  "build:prod": "tsup src/index.ts --format esm --dts --clean --minify --treeshake"
32
32
  },
33
33
  "dependencies": {
34
- "@danielsimonjr/mathts-core": "0.1.3",
35
- "@danielsimonjr/mathts-matrix": "0.1.4"
34
+ "@danielsimonjr/mathts-core": "0.1.4",
35
+ "@danielsimonjr/mathts-matrix": "0.1.5"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/node": "^25.5.2",