bend-ndarray@0.1.4.0 checks
0xb394b5997edb05025e33977930018c47
bend-ndarray: n-dimensional arrays for Bend 2 in the manner of NumPy, with NumPy's broadcasting proved.
bend-ndarray@0.1.4.0 by tjpa
Earlier versions (4)
- bend-ndarray@0.1.3.0 2026-11-13
- 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-14
- Size
- 174,430 bytes, 14 files
- License
- MIT-0 (no LICENSE file; the hub's default)
- Declarations
- 22 laws (22 proved), 542 defs, 25 types
Import
import bend-ndarray@0.1.4.0/F64_LAWS.bend as F64_LAWS import 0xb394b5997edb05025e33977930018c47/F64_LAWS.bend as F64_LAWS import bend-ndarray@0.1.4.0/F64_PROOF.bend as F64_PROOF import 0xb394b5997edb05025e33977930018c47/F64_PROOF.bend as F64_PROOF import bend-ndarray@0.1.4.0/LAWS.bend as LAWS import 0xb394b5997edb05025e33977930018c47/LAWS.bend as LAWS import bend-ndarray@0.1.4.0/PROOF.bend as PROOF import 0xb394b5997edb05025e33977930018c47/PROOF.bend as PROOF import bend-ndarray@0.1.4.0/cells.bend as Cells import 0xb394b5997edb05025e33977930018c47/cells.bend as Cells import bend-ndarray@0.1.4.0/cells64.bend as Cells64 import 0xb394b5997edb05025e33977930018c47/cells64.bend as Cells64 import bend-ndarray@0.1.4.0/io.bend as Io import 0xb394b5997edb05025e33977930018c47/io.bend as Io import bend-ndarray@0.1.4.0/ndarray.bend as Ndarray import 0xb394b5997edb05025e33977930018c47/ndarray.bend as Ndarray import bend-ndarray@0.1.4.0/npy.bend as Npy import 0xb394b5997edb05025e33977930018c47/npy.bend as Npy import bend-ndarray@0.1.4.0/package.bend as Package import 0xb394b5997edb05025e33977930018c47/package.bend as Package import bend-ndarray@0.1.4.0/rng.bend as Rng import 0xb394b5997edb05025e33977930018c47/rng.bend as Rng import bend-ndarray@0.1.4.0/shape.bend as Shape import 0xb394b5997edb05025e33977930018c47/shape.bend as Shape import bend-ndarray@0.1.4.0/tree.bend as Tree import 0xb394b5997edb05025e33977930018c47/tree.bend as Tree
Modules
- F64_LAWS.bend 9 declarations, 4 laws — The laws of bend-ndarray's float64 dtype, at literal inputs, in a gate of its own (with LAWS.bend's they came too
- F64_PROOF.bend 0 declarations — Proofs of F64_LAWS.bend: literal instances the checker computes.
- 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 89 declarations — bend-ndarray's element functions: one cell (32 bits) at a time, by operation and dtype. float32 cells hold their
- cells64.bend 36 declarations — bend-ndarray's float64 elements, computed with bend-float64 (IEEE 754 binary64 in pure Bend, x86-64's bits). A
- 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 203 declarations — bend-ndarray: n-dimensional arrays for Bend 2, in the manner of NumPy.
- npy.bend 102 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 58 declarations — bend-ndarray's random numbers, pure: the Philox4x32-10 counter-based generator (Salmon et al., "Parallel random
- shape.bend 56 declarations — bend-ndarray's shape rules, pure: broadcasting, reshape, transpose, reductions, slices and concatenation decide the
- tree.bend 81 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 15,512 bytes
Dependencies
- bend-float64@0.1.8.0 via
F64_LAWS.bend: import bend-float64@0.1.8.0/float64.bend as F - 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 |
|---|---|---|---|
| F64_LAWS.bend | open laws/TODOs | 4 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: 4 TODOs found. The code is incomplete, and not a valid proof yet. | 1.0 s |
| F64_PROOF.bend | checks | ALL PROOFS CHECK | 6.1 s |
| 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. | 1.3 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 10.7 s |
| cells.bend | checks | ALL PROOFS CHECK | 0.5 s |
| cells64.bend | checks | ALL PROOFS CHECK | 0.7 s |
| io.bend | checks | ALL PROOFS CHECK | 1.1 s |
| ndarray.bend | checks | ALL PROOFS CHECK | 1.0 s |
| npy.bend | checks | ALL PROOFS CHECK | 0.9 s |
| package.bend | checks | ALL PROOFS CHECK | 15.4 s |
| rng.bend | checks | ALL PROOFS CHECK | 0.7 s |
| shape.bend | checks | ALL PROOFS CHECK | 0.4 s |
| tree.bend | checks | ALL PROOFS CHECK | 0.7 s |