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;
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
let m = Matrix::from_str("1,2\n3,4".to_string());
|
||||
let d = m.determinant();
|
||||
println!("{}", d);
|
||||
// println!("Hello, world!");
|
||||
let m = Matrix::from_str("1,2,3\n4,5,6\n7,8,9".to_string());
|
||||
println!("Matrix:\n{}Has determinant:{}",m, m.determinant());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue