@danielsimonjr/mathts-tensor 0.1.0 → 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.
- package/README.md +21 -0
- package/dist/index.d.ts +1081 -5
- package/dist/index.js +2355 -21
- package/package.json +57 -56
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.
|