aboutsummaryrefslogtreecommitdiff
path: root/mu
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2024-09-16 13:27:22 +0200
committerhachem <im@hachem.wtf>2024-09-16 13:27:22 +0200
commitb6ad90a40761d27d04ed5447dd0fd2f31adb786e (patch)
tree6424cb44314b527eb083dc89a4010c23268c3ea0 /mu
parent6d750e1ca95f7c4dcf4423b9cebc30fdc471d083 (diff)
Basic Vector Implementation
Diffstat (limited to 'mu')
-rw-r--r--mu/src/main.rs19
1 files changed, 1 insertions, 18 deletions
diff --git a/mu/src/main.rs b/mu/src/main.rs
index e3f23b2..f328e4d 100644
--- a/mu/src/main.rs
+++ b/mu/src/main.rs
@@ -1,18 +1 @@
-use libmu::Matrix;
-
-fn main() {
- let mat1 = Matrix::<f32>::new(2, 2, vec![1.0, 2.0, 3.0, 4.0]);
- let mat2 = Matrix::<f32>::new(2, 2, vec![5.0, 6.0, 7.0, 8.0]);
-
- let dot_product = mat1.dot(&mat2);
- let kronecker_product = mat1.kronecker(&mat2);
-
- println!("Matrix 1:\n{}", mat1);
- println!("Matrix 2:\n{}", mat2);
-
- if let Some(dp) = dot_product {
- println!("Dot Product Matrix:\n{}", dp);
- }
-
- println!("Kronecker Product Matrix:\n{}", kronecker_product);
-}
+fn main() {}