Module matrix

Source
Expand description

Documentation for the crate::matrix module. Core matrix types and operations.

The Matrix struct provides a simple column‑major 2D array with a suite of numeric helpers. Additional traits like SeriesOps and BoolOps extend functionality for common statistics and logical reductions.

§Examples

use rustframe::matrix::Matrix;

let m = Matrix::from_cols(vec![vec![1, 2], vec![3, 4]]);
assert_eq!(m.shape(), (2, 2));
assert_eq!(m[(0,1)], 3);

Re-exports§

pub use boolops::*;
pub use mat::*;
pub use seriesops::*;

Modules§

boolops
Logical reductions for boolean matrices.
mat
A simple column-major Matrix implementation with element-wise operations.
seriesops
Numeric reductions and transformations over matrix axes.