Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denosaurs/algebra
➗ Powerful math library for Deno (WIP)
https://github.com/denosaurs/algebra
algebra deno math ndarray scientific-computing
Last synced: about 9 hours ago
JSON representation
➗ Powerful math library for Deno (WIP)
- Host: GitHub
- URL: https://github.com/denosaurs/algebra
- Owner: denosaurs
- License: mit
- Created: 2020-06-02T11:10:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-03T16:46:03.000Z (over 4 years ago)
- Last Synced: 2024-10-30T01:22:22.002Z (3 months ago)
- Topics: algebra, deno, math, ndarray, scientific-computing
- Language: Rust
- Homepage: https://deno.land/x/algebra
- Size: 886 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# algebra
---
> ⚠️ This project is work in progress. Expect breaking changes.
---```typescript
import * as ab from "https://deno.land/x/algebra/nd.ts";let a = ab.arange(0, 2, 0.5);
console.log(a.string());a = a.reshape([2, 2]);
console.log(a.string());
console.log(a.idx([1, 1]));let b = ab.random([8, 8, 8]);
console.log(b.string());const slice = Array(b.ndim()).fill(ab.Range(2, 6, 1));
let c = b.slice(slice);
console.log(c.string());let d = ab.array([]);
console.log(d.mean())