@justinelliottcobb/amari-wasm 0.19.1 → 0.22.0
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 +26 -3
- package/amari_wasm.d.ts +890 -5
- package/amari_wasm.js +2941 -772
- package/amari_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @justinelliottcobb/amari-wasm v0.
|
|
1
|
+
# @justinelliottcobb/amari-wasm v0.22.0
|
|
2
2
|
|
|
3
3
|
**Unified Mathematical Computing Library with High-Precision WebAssembly Support**
|
|
4
4
|
|
|
@@ -13,8 +13,10 @@ Amari is a comprehensive mathematical computing library that brings advanced alg
|
|
|
13
13
|
| Module | Crate | Since | Description |
|
|
14
14
|
|--------|-------|-------|-------------|
|
|
15
15
|
| [Geometric Algebra](docs/geometric-algebra.md) | amari-core | v0.1 | Multivectors, rotors, geometric products for 3D rotations and spatial transformations |
|
|
16
|
-
| [Tropical Algebra](docs/tropical-algebra.md) | amari-tropical | v0.9.3 | Max-plus semiring operations
|
|
17
|
-
| [Automatic Differentiation](docs/automatic-differentiation.md) | amari-dual | v0.9.3 | Forward-mode AD with dual
|
|
16
|
+
| [Tropical Algebra](docs/tropical-algebra.md) | amari-tropical | v0.9.3 | Max-plus semiring operations plus `0.21.0` ordinal-weighted optimization carriers below ε₀ |
|
|
17
|
+
| [Automatic Differentiation](docs/automatic-differentiation.md) | amari-dual | v0.9.3 | Forward-mode AD with `0.21.0` branch policies, multi-dual seeding, and fixed-size gradient wrappers |
|
|
18
|
+
| Combinatorial Game Theory | amari-cgt | v0.22.0 | Short normal-play games, cuts, outcomes, comparison, nimbers, and inspection helpers |
|
|
19
|
+
| Short Surreal Numbers | amari-surreal | v0.22.0 | Exact dyadic short-surreal arithmetic and conversion to/from numeric CGT games |
|
|
18
20
|
| [Cellular Automata](docs/cellular-automata.md) | amari-automata | v0.9.4 | Geometric cellular automata with multivector states |
|
|
19
21
|
| [Holographic Memory](docs/holographic-memory.md) | amari-fusion | v0.12.3 | Vector Symbolic Architecture for associative memory with binding and bundling |
|
|
20
22
|
| [Measure Theory](docs/measure-theory.md) | amari-measure | v0.10.0 | Lebesgue integration, probability measures, and measure-theoretic foundations |
|
|
@@ -30,6 +32,27 @@ Amari is a comprehensive mathematical computing library that brings advanced alg
|
|
|
30
32
|
|
|
31
33
|
Also includes bindings for: amari-network (geometric network analysis), amari-optimization (gradient descent, NSGA-II), amari-info-geom (Fisher metrics, statistical manifolds), amari-calculus (differential geometry, manifolds).
|
|
32
34
|
|
|
35
|
+
### v0.22.0 CGT / Surreal WASM Surface
|
|
36
|
+
|
|
37
|
+
The `0.22.0` release exposes the new short-game and short-surreal Rust APIs to JavaScript/TypeScript:
|
|
38
|
+
|
|
39
|
+
- `WasmCgtArena` and `WasmGameId` for arena-backed short games, focused one-option cuts, addition/subtraction/negation, comparison, outcomes, canonicalization, and formatting.
|
|
40
|
+
- `WasmGameInspection` for birthday, canonical form, outcome, numeric/impartial classification, and reachable-node counts.
|
|
41
|
+
- `WasmDyadic` for exact dyadic arithmetic with checked division inside the short-surreal layer.
|
|
42
|
+
- `WasmShortSurreal` for exact short-surreal arithmetic plus conversion from numeric CGT games and reconstruction back into a `WasmCgtArena`.
|
|
43
|
+
|
|
44
|
+
The scope remains intentionally short/exact: loopy games, misère play, symbolic infinite surreals, and surcomplex arithmetic are not part of the `0.22.0` WASM surface.
|
|
45
|
+
|
|
46
|
+
### v0.21.0 Tropical / Dual WASM Surface
|
|
47
|
+
|
|
48
|
+
The `0.21.0` release exposes the new optimization-oriented Rust APIs to JavaScript/TypeScript:
|
|
49
|
+
|
|
50
|
+
- `TropicalBatch.foldOplus(...)` and `TropicalBatch.foldOtimes(...)` for semiring folds.
|
|
51
|
+
- `WasmOrdinalArena`, `WasmOrdinal`, and `WasmOrdinalWeight` for bounded ordinals below ε₀, ordinal formatting/inspection, and ordinal-weight `oplus` / `otimes` helpers.
|
|
52
|
+
- `WasmBranchPolicy` plus `maxByPolicy(...)` / `minByPolicy(...)` on dual and multi-dual numbers for explicit tie behavior.
|
|
53
|
+
- `WasmMultiDualNumber.variables(...)` for basis-seeded gradient setup.
|
|
54
|
+
- `WasmStaticMultiDual2`, `WasmStaticMultiDual3`, and `WasmStaticMultiDual4` for small fixed-size forward-mode AD loops in browser-facing workloads.
|
|
55
|
+
|
|
33
56
|
### High-Precision Arithmetic
|
|
34
57
|
|
|
35
58
|
- **Pure Rust Backend**: dashu-powered arithmetic with no native dependencies
|