Crate matreex

source ·
Expand description

A simple matrix implementation.

§Quick Start

use matreex::matrix;

let lhs = matrix![[0, 1, 2], [3, 4, 5]];
let rhs = matrix![[0, 1], [2, 3], [4, 5]];

assert_eq!(lhs * rhs, matrix![[10, 13], [28, 40]]);

§FAQs

§Why matreex instead of matrix?

Hmm … Who knows? Could be a name conflict.

Re-exports§

  • pub use self::error::Error;
  • pub use self::error::Result;
  • pub use self::matrix::index::Index;
  • pub use self::matrix::iter::MatrixIter;
  • pub use self::matrix::iter::VectorIter;
  • pub use self::matrix::order::Order;
  • pub use self::matrix::shape::Shape;
  • pub use self::matrix::Matrix;

Modules§

  • This module serves for error handling.
  • This module defines Matrix and all its related components.

Macros§