Rust, Design Patterns, Matrix Factorization, Numerical Methods, Software Engineering.
!data.is_empty() { Some(data) } else { None }; self } /* Other methods */ } Now we want to have the possibility to provide the data directly: either in the format of a one-dimensional array — and in such case with the number of rows and cols, or in the format of a two-dimensional array — no