bend-ndarray@0.1.1.0 checks
0x2b8aa54cdabf25f47f4d6f43f90edd8f
bend-ndarray: n-dimensional arrays for Bend 2 in the manner of NumPy, with NumPy's broadcasting proved.
bend-ndarray@0.1.1.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.2.0 2026-11-13
- bend-ndarray@0.1.0.0 2026-11-13
- Published
- 2026-11-13
- Size
- 91,898 bytes, 8 files
- License
- MIT-0 (no LICENSE file; the hub's default)
- Declarations
- 11 laws (11 proved), 315 defs, 7 types
Import
import bend-ndarray@0.1.1.0/LAWS.bend as LAWS import 0x2b8aa54cdabf25f47f4d6f43f90edd8f/LAWS.bend as LAWS import bend-ndarray@0.1.1.0/PROOF.bend as PROOF import 0x2b8aa54cdabf25f47f4d6f43f90edd8f/PROOF.bend as PROOF import bend-ndarray@0.1.1.0/cells.bend as Cells import 0x2b8aa54cdabf25f47f4d6f43f90edd8f/cells.bend as Cells import bend-ndarray@0.1.1.0/ndarray.bend as Ndarray import 0x2b8aa54cdabf25f47f4d6f43f90edd8f/ndarray.bend as Ndarray import bend-ndarray@0.1.1.0/package.bend as Package import 0x2b8aa54cdabf25f47f4d6f43f90edd8f/package.bend as Package import bend-ndarray@0.1.1.0/shape.bend as Shape import 0x2b8aa54cdabf25f47f4d6f43f90edd8f/shape.bend as Shape import bend-ndarray@0.1.1.0/tree.bend as Tree import 0x2b8aa54cdabf25f47f4d6f43f90edd8f/tree.bend as Tree
Modules
- LAWS.bend 14 declarations, 11 laws — The laws of bend-ndarray. Broadcasting is characterised for every pair of shapes (sound, complete, least: together
- PROOF.bend 34 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 158 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.
- shape.bend 50 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 7,063 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 | 11 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: 11 TODOs found. The code is incomplete, and not a valid proof yet. | 0.5 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 1.3 s |
| cells.bend | checks | ALL PROOFS CHECK | 0.5 s |
| ndarray.bend | checks | ALL PROOFS CHECK | 0.6 s |
| package.bend | checks | ALL PROOFS CHECK | 1.3 s |
| shape.bend | checks | ALL PROOFS CHECK | 0.5 s |
| tree.bend | checks | ALL PROOFS CHECK | 0.4 s |