bend-ndarray@0.1.2.0 checks
0xe2a576a925a38b8ab216e6d41f3358a6
bend-ndarray: n-dimensional arrays for Bend 2 in the manner of NumPy, with NumPy's broadcasting proved.
bend-ndarray@0.1.2.0 by tjpa
Other versions (4)
- bend-ndarray@0.1.4.0 2026-11-14 latest
- bend-ndarray@0.1.3.0 2026-11-13
- bend-ndarray@0.1.1.0 2026-11-13
- bend-ndarray@0.1.0.0 2026-11-13
- Published
- 2026-11-13
- Size
- 112,095 bytes, 9 files
- License
- MIT-0 (no LICENSE file; the hub's default)
- Declarations
- 14 laws (14 proved), 376 defs, 13 types
Import
import bend-ndarray@0.1.2.0/LAWS.bend as LAWS import 0xe2a576a925a38b8ab216e6d41f3358a6/LAWS.bend as LAWS import bend-ndarray@0.1.2.0/PROOF.bend as PROOF import 0xe2a576a925a38b8ab216e6d41f3358a6/PROOF.bend as PROOF import bend-ndarray@0.1.2.0/cells.bend as Cells import 0xe2a576a925a38b8ab216e6d41f3358a6/cells.bend as Cells import bend-ndarray@0.1.2.0/ndarray.bend as Ndarray import 0xe2a576a925a38b8ab216e6d41f3358a6/ndarray.bend as Ndarray import bend-ndarray@0.1.2.0/package.bend as Package import 0xe2a576a925a38b8ab216e6d41f3358a6/package.bend as Package import bend-ndarray@0.1.2.0/rng.bend as Rng import 0xe2a576a925a38b8ab216e6d41f3358a6/rng.bend as Rng import bend-ndarray@0.1.2.0/shape.bend as Shape import 0xe2a576a925a38b8ab216e6d41f3358a6/shape.bend as Shape import bend-ndarray@0.1.2.0/tree.bend as Tree import 0xe2a576a925a38b8ab216e6d41f3358a6/tree.bend as Tree
Modules
- LAWS.bend 20 declarations, 14 laws — The laws of bend-ndarray. Broadcasting is characterised for every pair of shapes (sound, complete, least: together
- PROOF.bend 38 declarations — Proofs of LAWS.bend.
- cells.bend 88 declarations — bend-ndarray's element functions: one cell (32 bits) at a time, by operation and dtype. float32 cells hold their
- ndarray.bend 178 declarations — bend-ndarray: n-dimensional arrays for Bend 2, in the manner of NumPy.
- package.bend 0 declarations — bend-ndarray: n-dimensional arrays for Bend 2 in the manner of NumPy, with NumPy's broadcasting proved.
- rng.bend 50 declarations — bend-ndarray's random numbers, pure: the Philox4x32-10 counter-based generator (Salmon et al., "Parallel random
- shape.bend 51 declarations — bend-ndarray's shape rules, pure: broadcasting, reshape, transpose, reductions, slices and concatenation decide the
- tree.bend 56 declarations — bend-ndarray's storage: one binary tree (a Bend Array<U32>) whose levels follow the dimensions. A dimension of n
Other files
- README.md 9,184 bytes
Dependencies
- bend-mathlib@0.8.1.0 via
PROOF.bend: import bend-mathlib@0.8.1.0/nat.bend as MN
Dependents
No package in this build imports it.
Status on bend 2.0.40
| File | Status | Checker says | Time |
|---|---|---|---|
| LAWS.bend | open laws/TODOs | 14 TODOs found. Checked alone, a law without a def is a TODO; all of them are proved in files that check, so the package counts this file as checks. outputSOME PROOFS FAIL Error: 14 TODOs found. The code is incomplete, and not a valid proof yet. | 0.5 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 3.8 s |
| cells.bend | checks | ALL PROOFS CHECK | 0.3 s |
| ndarray.bend | checks | ALL PROOFS CHECK | 0.5 s |
| package.bend | checks | ALL PROOFS CHECK | 4.8 s |
| rng.bend | checks | ALL PROOFS CHECK | 0.4 s |
| shape.bend | checks | ALL PROOFS CHECK | 0.5 s |
| tree.bend | checks | ALL PROOFS CHECK | 0.6 s |