Rust, Design Patterns, Matrix Factorization, Numerical Methods, Software Engineering.
specific matrices builder: identity matrices and zero-only matrices. impl<T> MatrixBuilder<T> where T: Numeric { /* Constructor, setters and from_* */ pub fn zeros(self, rows: usize, cols: usize) -> Self { self.rows(rows).cols(cols).data(vec![T::default(); rows * cols]) } pub fn identity(self, n: