crum

Crates.iocrum
lib.rscrum
version0.3.0
created_at2025-01-28 14:52:23.789749+00
updated_at2025-02-21 12:14:11.937765+00
descriptionTensors, Matrices and Complex numbers for numerical analysis.
homepagehttp://www.gaiamathematica.net
repositoryhttps://github.com/fransslabber/crum
max_upload_size
id1533603
size123,499
Frans Bresler Slabber (fransslabber)

documentation

https://docs.rs/crum/latest/crum/index.html

README

crum

Complex (Numbers) Rust Und Matrices

crum is a work-in-progress Rust crate for implementing complex numbers and matrices with a large focus on complex matrices—entirely from scratch, with no unsafe calls to established libraries such as LAPACK.

NB: This is an experimental in beta package, use at your own discretion. Some functionality, although defined, have not been implemented.

The repository owner accepts no responsibility nor liability for any consequences of the use of this package.

Features

Tensors

  • easy tensor creation macro
  • range based, random, zeroes, ones creation functions
  • multi-dimensional transpose ( as in Numpy )
  • Multi-dimensional contraction using Einstein's Summation Notation ( as per Numpy )

Complex Numbers

  • num_traits Float and Num for generic complex number type Complex(incomplete)<T>
  • mimic std c++ <complex> functionality
  • generic for all primitive types

Matrices

  • generic to all types implementing num_traits Float and Num
  • extra vector functions
  • complex number specific functionality such Complex Householder Transform, Complex QR decomposition, Schur Decomposition
  • LU Decomposition(Gauss Elimination with Partial Pivot) for real matrices.
  • Real Square matrix determinant
  • Solve linear system of equations with LU decomposition.
Commit count: 38

cargo fmt