Skip to content

intermediate merge from v0.1 - #13

Merged
nettrash merged 6 commits into
masterfrom
v0.1
Nov 4, 2026
Merged

nettrash merged 6 commits into
masterfrom
v0.1

Conversation

@nettrash

@nettrash nettrash commented Nov 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

@nettrash nettrash added this to the v0.1 milestone Nov 3, 2026
@nettrash nettrash self-assigned this Nov 3, 2026
Copilot AI balanced review requested due to automatic review settings November 3, 2026 20:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved numerical-stability and NaN-handling defects produce incorrect results, while unchecked dimension multiplication can violate matrix storage invariants.

10 open issues
What changed in this PR

This intermediate merge from v0.1 expands the library’s mathematics support with complex numbers and matrices, alongside the existing arbitrary-precision integers and elliptic curves.

Changes:

  • Adds complex arithmetic and functions, matrix operations, decompositions, and exact integer-matrix algorithms.
  • Adds numerical regression tests covering decomposition identities, algorithm boundaries, and extreme magnitudes.
  • Exposes the new modules, integrates documentation, and updates package metadata to version 0.0.29.
File Description
lib/​tests/​math/​matrix/​svd.rs Tests SVD, norms, ranks, and characteristic polynomials.
lib/​tests/​math/​matrix/​product.rs Checks matrix products across kernel boundaries.
lib/​tests/​math/​matrix/​mod.rs Registers matrix test modules.
lib/​tests/​math/​matrix/​factor.rs Tests factorizations, solves, and inverses.
lib/​tests/​math/​matrix/​factor_paths.rs Exercises factorization thresholds and exceptional inputs.
lib/​tests/​math/​matrix/​extremes.rs Tests extreme numerical magnitudes.
lib/​tests/​math/​matrix/​exact.rs Validates exact integer-matrix algorithms.
lib/​tests/​math/​matrix/​eigen.rs Tests Schur forms and eigendecompositions.
lib/​tests/​math/​matrix/​common.rs Provides shared numerical test helpers.
lib/​tests/​math/​matrix/​basic.rs Tests matrix construction, arithmetic, and formatting.
lib/​tests/​math/​main.rs Registers complex and matrix test suites.
lib/​tests/​math/​complex/​mod.rs Tests complex arithmetic, functions, and branch cuts.
lib/​src/​math/​mod.rs Exposes and documents the new math modules.
lib/​src/​math/​matrix/​svd/​secular.rs Implements the secular-equation SVD merge step.
lib/​src/​math/​matrix/​svd/​qr.rs Implements bidiagonal QR iteration.
lib/​src/​math/​matrix/​svd.rs Provides SVD APIs and algorithm selection.
lib/​src/​math/​matrix/​properties.rs Adds norms, condition numbers, ranks, and related properties.
lib/​src/​math/​matrix/​ops.rs Implements matrix arithmetic operators.
lib/​src/​math/​matrix/​mod.rs Defines matrix storage, constructors, access, and formatting.
lib/​src/​math/​matrix/​householder.rs Implements individual and blocked Householder reflections.
lib/​src/​math/​matrix/​gemm/​portable.rs Adds portable matrix-product kernels.
lib/​src/​math/​matrix/​exact.rs Implements exact integer-matrix algorithms.
lib/​src/​math/​matrix/​eigen.rs Provides eigendecomposition APIs and Schur conversion.
lib/​src/​math/​matrix/​cholesky/​aarch64.rs Adds NEON Cholesky kernels.
lib/​src/​math/​matrix/​blas/​trsm/​aarch64.rs Adds NEON triangular-solve kernels.
lib/​src/​math/​matrix/​blas.rs Provides shared product, solve, and scratch-memory interfaces.
lib/​src/​math/​matrix/​basic.rs Adds transposes, row operations, traces, and powers.
lib/​src/​math/​complex/​ops.rs Implements complex arithmetic operators.
lib/​src/​math/​complex/​mod.rs Defines complex numbers and mathematical functions.
lib/​src/​math/​complex/​float.rs Provides a sealed floating-point abstraction.
lib/​src/​docs.rs Includes complex and matrix documentation in doctests.
lib/​docs/​math/​complex.md Documents complex APIs, algorithms, and benchmarks.
lib/​Cargo.toml Updates version and package descriptions and categories.
lib/​Cargo.lock Synchronizes the package version.

Review effort: Balanced

Comment thread lib/src/math/matrix/eigen.rs Resolved
Comment thread lib/src/math/matrix/mod.rs Resolved
Comment thread lib/src/math/matrix/properties.rs Resolved
Comment thread lib/src/math/complex/mod.rs Resolved
Comment thread lib/src/math/complex/ops.rs Resolved
Comment thread lib/src/math/matrix/householder.rs Resolved
Comment thread lib/src/math/matrix/householder.rs Resolved
Comment thread lib/src/math/matrix/properties.rs Resolved
Comment thread lib/src/math/matrix/properties.rs Resolved
Comment thread lib/src/math/matrix/properties.rs Resolved
@nettrash
nettrash merged commit 39d2260 into master Nov 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants