summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..0e25ddc
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,9 @@
+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);
+}