matrix42 0.1.1

A linear algebra library developed as a project in the 42 ecosystem.
Documentation
  • Coverage
  • 0%
    0 out of 45 items documented0 out of 34 items with examples
  • Size
  • Source code size: 47.48 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.17 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • LaiAnTan/42KL-matrix
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • LaiAnTan

42KL-matrix

A linear algebra module written in Rust.

Note: This module is not meant to be performant, and are just an exercise to discover linear algebra & the algorithms computers use to perform linear algebra calculations.

Dependencies

All dependencies listed here.

  • approx: for floating point approx assertion macros (relative_eq!)
  • num: for generic number trait bounds (Float),generic MulAdd trait, complex number type support

Installation

Add to cargo project

cargo add matrix42

Functions

Supported Functions:

  • Addition, Subtraction, Scaling for Vector and Matrices
  • Vector Matrix multiplication, Matrix multiplication
  • Linear Combination
  • Linear Interpolation (lerp)
  • Dot Product
  • Manhattan Norm (L-1), Euclidean Norm (L-2), Infinity Norm (L-inf)
  • Cosine
  • Cross Product
  • Matrix Trace
  • Matrix Transpose
  • Matrix Row - Echelon Form
  • Matrix Inverse
  • Matrix Determinant
  • Matrix Rank