mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
203 B
9 lines
203 B
1 year ago
|
fn main() {
|
||
|
let matrix = [[1, 2, 4], [2, -1, 3], [4, 0, 1]];
|
||
|
|
||
|
println!(
|
||
|
"The determinant of the matrix:\n|1 2 4|\n|2 -1 3| = {}\n|4 0 1|",
|
||
|
matrix_determinant(matr)
|
||
|
);
|
||
|
}
|