@justinelliottcobb/amari-wasm 0.17.0 → 0.18.1
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 +41 -3
- package/amari_wasm.d.ts +680 -4
- package/amari_wasm.js +1971 -271
- 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.18.1
|
|
2
2
|
|
|
3
3
|
**Unified Mathematical Computing Library with High-Precision WebAssembly Support**
|
|
4
4
|
|
|
@@ -20,7 +20,8 @@ Amari is a comprehensive mathematical computing library that brings advanced alg
|
|
|
20
20
|
- **Functional Analysis** *(v0.15.0)*: Hilbert spaces, linear operators, spectral decomposition, and Sobolev spaces
|
|
21
21
|
- **Optical Field Operations** *(v0.15.1)*: GA-native Lee hologram encoding for DMD displays and VSA-based optical processing
|
|
22
22
|
- **Computational Topology** *(v0.16.0)*: Simplicial complexes, homology computation, persistent homology, and Morse theory
|
|
23
|
-
- **Dynamical Systems** *(v0.
|
|
23
|
+
- **Dynamical Systems** *(v0.18.1)*: ODE solvers, stability analysis, bifurcation diagrams, Lyapunov exponents, and phase portraits
|
|
24
|
+
- **Enumerative Geometry** *(v0.18.1)*: WDVV curve counting, equivariant localization, matroids, CSM classes, operadic composition, and stability conditions
|
|
24
25
|
- **Probability Theory** *(v0.13.0)*: Distributions on multivector spaces, MCMC sampling, and Monte Carlo estimation
|
|
25
26
|
- **Relativistic Physics**: Spacetime algebra (Cl(1,3)) with WebAssembly-compatible precision
|
|
26
27
|
- **Spacecraft Orbital Mechanics**: Full-precision trajectory calculations in browsers
|
|
@@ -720,7 +721,7 @@ async function topologyDemo() {
|
|
|
720
721
|
topologyDemo();
|
|
721
722
|
```
|
|
722
723
|
|
|
723
|
-
### Dynamical Systems *(v0.
|
|
724
|
+
### Dynamical Systems *(v0.18.1)*
|
|
724
725
|
|
|
725
726
|
Analyze chaotic systems, compute bifurcation diagrams, and explore phase space:
|
|
726
727
|
|
|
@@ -1091,6 +1092,9 @@ dynamicsDemo();
|
|
|
1091
1092
|
- **Chaos Theory**: Lorenz attractors, bifurcation diagrams, Lyapunov exponents
|
|
1092
1093
|
- **Control Systems**: Stability analysis and phase portraits for dynamical systems
|
|
1093
1094
|
- **Climate Modeling**: Sensitivity analysis via Lyapunov spectrum computation
|
|
1095
|
+
- **Algebraic Geometry**: Rational curve counting, Schubert calculus, Gromov-Witten invariants
|
|
1096
|
+
- **Combinatorics**: Matroid operations, Littlewood-Richardson coefficients
|
|
1097
|
+
- **Access Control**: Geometric namespace/capability systems for secure multi-agent coordination
|
|
1094
1098
|
|
|
1095
1099
|
## API Reference
|
|
1096
1100
|
|
|
@@ -1199,6 +1203,40 @@ dynamicsDemo();
|
|
|
1199
1203
|
- `findFixedPoints(system, guesses, tolerance)`: Find fixed points
|
|
1200
1204
|
- `WasmPhasePortrait.generate(system, xRange, yRange, res, tMax, dt)`: Generate phase portrait
|
|
1201
1205
|
|
|
1206
|
+
### Enumerative Geometry Operations
|
|
1207
|
+
|
|
1208
|
+
- `WasmWDVVEngine.new()`: Create WDVV engine for rational curve counting
|
|
1209
|
+
- `WasmWDVVEngine.rationalCurveCount(degree)`: Compute N_d (rational curves through 3d-1 points)
|
|
1210
|
+
- `WasmWDVVEngine.requiredPointCount(degree, genus)`: Required point count (3d+g-1)
|
|
1211
|
+
- `WasmWDVVEngine.getTable()`: Get table of computed curve counts
|
|
1212
|
+
- `WasmWDVVEngine.p1xp1Count(a, b)`: Rational curves on P^1 x P^1 of bidegree (a,b)
|
|
1213
|
+
- `WasmWDVVEngine.p3Count(degree)`: Rational curves in P^3
|
|
1214
|
+
- `WasmEquivariantLocalizer.new(k, n)`: Create localizer for Gr(k,n)
|
|
1215
|
+
- `WasmEquivariantLocalizer.fixedPointCount()`: Count T-fixed points (= C(n,k))
|
|
1216
|
+
- `WasmEquivariantLocalizer.localizedIntersection(classes)`: Intersection via localization
|
|
1217
|
+
- `WasmMatroid.uniform(k, n)`: Create uniform matroid U_{k,n}
|
|
1218
|
+
- `WasmMatroid.getRank()`: Get matroid rank
|
|
1219
|
+
- `WasmMatroid.getNumBases()`: Get number of bases
|
|
1220
|
+
- `WasmMatroid.dual()`: Compute dual matroid
|
|
1221
|
+
- `WasmMatroid.deleteElement(e)`: Delete element
|
|
1222
|
+
- `WasmMatroid.contractElement(e)`: Contract element
|
|
1223
|
+
- `WasmCSMClass.ofSchubertCell(partition, k, n)`: CSM class of Schubert cell
|
|
1224
|
+
- `WasmCSMClass.ofSchubertVariety(partition, k, n)`: CSM class of Schubert variety
|
|
1225
|
+
- `WasmCSMClass.eulerCharacteristic()`: Get Euler characteristic
|
|
1226
|
+
- `WasmStabilityCondition.new(k, n, trust)`: Create stability condition
|
|
1227
|
+
- `WasmStabilityCondition.phase(class)`: Compute phase of a class
|
|
1228
|
+
- `WasmStabilityCondition.stableCount(namespace)`: Count stable objects
|
|
1229
|
+
- `WasmWallCrossingEngine.new(k, n)`: Create wall-crossing engine
|
|
1230
|
+
- `WasmWallCrossingEngine.computeWalls(namespace)`: Find walls
|
|
1231
|
+
- `WasmWallCrossingEngine.stableCountAt(namespace, trust)`: Stable count at trust level
|
|
1232
|
+
- `WasmWallCrossingEngine.phaseDiagram(namespace)`: Generate phase diagram
|
|
1233
|
+
- `WasmComposableNamespace.new(namespace)`: Create composable namespace
|
|
1234
|
+
- `WasmComposableNamespace.markOutput(capId)`: Mark output interface
|
|
1235
|
+
- `WasmComposableNamespace.markInput(capId)`: Mark input interface
|
|
1236
|
+
- `composeNamespaces(outer, inner)`: Compose along matching interfaces
|
|
1237
|
+
- `compositionMultiplicity(outer, inner)`: Intersection number of interfaces
|
|
1238
|
+
- `interfacesCompatible(outer, inner)`: Check interface compatibility
|
|
1239
|
+
|
|
1202
1240
|
## Examples
|
|
1203
1241
|
|
|
1204
1242
|
Check out the [examples directory](https://github.com/justinelliottcobb/Amari/tree/master/examples) for more detailed usage:
|