Rust, Design Patterns, Matrix Factorization, Numerical Methods, Software Engineering.
println!("data = {:?}", data); if let Some(first_row) = data.first() { let rows = data.len(); let cols = first_row.len(); let flat_data: Vec<T> = data.into_iter().flatten().collect(); self.rows(rows).cols(cols).data(flat_data) } else {self} } /* Other methods */ } It will also be handy to have