Skip to content

Build shape-safe dense vector and matrix foundations - #53

Merged
LunaStev merged 2 commits into
wavefnd:masterfrom
LunaStev:feat/dense-linear-algebra-foundations
Oct 27, 2026
Merged

LunaStev merged 2 commits into
wavefnd:masterfrom
LunaStev:feat/dense-linear-algebra-foundations

Conversation

@LunaStev

@LunaStev LunaStev commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Fix zero-dimensional matrix shape loss and shape-product overflow.

  • Add row-major dense storage, checked matrix/vector APIs, constructors, indexing, slicing, reshape, and basic arithmetic.
  • Integrate Haskell tests into Meson.
  • Keep README minimal and exclude local docs/ from Git and source distributions.

Validation: 91 Haskell test groups; 9/9 Meson tests in Release and Debug; clean source build, Haddock, runnable example, and Haskell failure propagation. The documentation follow-up passes cabal check and the source-archive exclusion check.

Existing Maybe signatures and C ABI behavior are preserved. Derived Show output reflects flat storage; checked errors cover shapes and bounds, while arithmetic follows the selected numeric type.

Fixes #2

Refs #11
Refs #43
Refs #47
Refs #48

@LunaStev LunaStev added this to the 1.0.0 milestone Oct 27, 2026 — with ChatGPT Codex Connector
@LunaStev LunaStev added bug Something isn't working enhancement New feature or request linear algebra Vectors, dense and sparse matrices, decompositions, and solvers. haskell Native Haskell API, types, errors, and resource management. build Cabal, Meson, GHC, installation, and packaging. testing Numerical correctness, regression coverage, and CI. priority high Correctness and API/ABI foundations needed before expansion. labels Oct 27, 2026 — with ChatGPT Codex Connector
@LunaStev
LunaStev merged commit b80fe3b into wavefnd:master Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working build Cabal, Meson, GHC, installation, and packaging. enhancement New feature or request haskell Native Haskell API, types, errors, and resource management. linear algebra Vectors, dense and sparse matrices, decompositions, and solvers. priority high Correctness and API/ABI foundations needed before expansion. testing Numerical correctness, regression coverage, and CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve matrix shape and values across zero-dimension operations

1 participant