matrix-rs/src/main.rs
Zhongheng Liu 8bb435ab10
init: first working impl of determinant
types: added initial matrix definition and impl blocks
2025-01-22 12:32:22 +02:00

9 lines
190 B
Rust

use types::matrix::Matrix;
mod types;
fn main() {
println!("Hello, world!");
let m = Matrix::from_str("1,2\n3,4".to_string());
let d = m.determinant();
println!("{}", d);
}