bend-ndarray@0.1.3.0 checks
0xcc7fe2a980487676abb11c4601fc801f
bend-ndarray: n-dimensional arrays for Bend 2 in the manner of NumPy, with NumPy's broadcasting proved.
bend-ndarray@0.1.3.0 by tjpa
Other versions (4)
- bend-ndarray@0.1.4.0 2026-11-14 latest
- bend-ndarray@0.1.2.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
- 143,005 bytes, 11 files
- License
- MIT-0 (no LICENSE file; the hub's default)
- Declarations
- 18 laws (18 proved), 469 defs, 21 types
Import
import bend-ndarray@0.1.3.0/LAWS.bend as LAWS import 0xcc7fe2a980487676abb11c4601fc801f/LAWS.bend as LAWS import bend-ndarray@0.1.3.0/PROOF.bend as PROOF import 0xcc7fe2a980487676abb11c4601fc801f/PROOF.bend as PROOF import bend-ndarray@0.1.3.0/cells.bend as Cells import 0xcc7fe2a980487676abb11c4601fc801f/cells.bend as Cells import bend-ndarray@0.1.3.0/io.bend as Io import 0xcc7fe2a980487676abb11c4601fc801f/io.bend as Io import bend-ndarray@0.1.3.0/ndarray.bend as Ndarray import 0xcc7fe2a980487676abb11c4601fc801f/ndarray.bend as Ndarray import bend-ndarray@0.1.3.0/npy.bend as Npy import 0xcc7fe2a980487676abb11c4601fc801f/npy.bend as Npy import bend-ndarray@0.1.3.0/package.bend as Package import 0xcc7fe2a980487676abb11c4601fc801f/package.bend as Package import bend-ndarray@0.1.3.0/rng.bend as Rng import 0xcc7fe2a980487676abb11c4601fc801f/rng.bend as Rng import bend-ndarray@0.1.3.0/shape.bend as Shape import 0xcc7fe2a980487676abb11c4601fc801f/shape.bend as Shape import bend-ndarray@0.1.3.0/tree.bend as Tree import 0xcc7fe2a980487676abb11c4601fc801f/tree.bend as Tree
Modules
- LAWS.bend 30 declarations, 18 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
- io.bend 6 declarations — bend-ndarray's files: .npy arrays loaded and saved with Base's File effects (npy.bend does the encoding).
- ndarray.bend 178 declarations — bend-ndarray: n-dimensional arrays for Bend 2, in the manner of NumPy.
- npy.bend 112 declarations — bend-ndarray's .npy files, pure: an array to the bytes of a .npy file (version 1.0, little-endian, C order), and the
- 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 55 declarations — bend-ndarray's shape rules, pure: broadcasting, reshape, transpose, reductions, slices and concatenation decide the
- tree.bend 57 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 11,518 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 | 18 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: 18 TODOs found. The code is incomplete, and not a valid proof yet. | 0.5 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 8.7 s |
| cells.bend | checks | ALL PROOFS CHECK | 0.4 s |
| io.bend | checks | ALL PROOFS CHECK | 0.6 s |
| ndarray.bend | checks | ALL PROOFS CHECK | 0.6 s |
| npy.bend | checks | ALL PROOFS CHECK | 0.5 s |
| package.bend | checks | ALL PROOFS CHECK | 8.2 s |
| rng.bend | checks | ALL PROOFS CHECK | 0.3 s |
| shape.bend | checks | ALL PROOFS CHECK | 0.3 s |
| tree.bend | checks | ALL PROOFS CHECK | 0.5 s |