From 2451068777430198bceb896b98d204eb89d54c49 Mon Sep 17 00:00:00 2001 From: Leto Date: Mon, 23 Dec 2024 22:15:20 +0100 Subject: [PATCH] Changed readme example --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0d8b43f..9d74727 100644 --- a/README.md +++ b/README.md @@ -68,13 +68,13 @@ int main() { #include int main() { - Lema::Matrix mat1(2, 2, {1, 2, 3, 4}); - Lema::Matrix mat2(2, 2, {1, 0, 0, 1}); + Matrix a(3, 3); + Matrix b(3, 1); // Let's multiply by a vector - auto result = mat1 * mat2; + Matrix result = a.Multiply(&b); + + result.Print("A x B"); - std::cout << "Result of multiplication:\n"; - result.print(); return 0; } ```