chore: update main rs to test
This commit is contained in:
parent
268080fbab
commit
e0f006dcf4
1 changed files with 3 additions and 4 deletions
|
|
@ -2,8 +2,7 @@ use types::matrix::Matrix;
|
||||||
|
|
||||||
mod types;
|
mod types;
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello, world!");
|
// println!("Hello, world!");
|
||||||
let m = Matrix::from_str("1,2\n3,4".to_string());
|
let m = Matrix::from_str("1,2,3\n4,5,6\n7,8,9".to_string());
|
||||||
let d = m.determinant();
|
println!("Matrix:\n{}Has determinant:{}",m, m.determinant());
|
||||||
println!("{}", d);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue