From 2c073e4c2db5b5daf8f712ecbf223910131334c0 Mon Sep 17 00:00:00 2001 From: Utkarshasathe05 <156932891+Utkarshasathe05@users.noreply.github.com> Date: Mon, 15 Sep 2025 09:51:37 +0530 Subject: [PATCH] Update README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index cb11624..900aba2 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,24 @@ Enjoy ;) The original author didn't specify a License, but I'm going out on a limb and guessing that he implied GPL2. I would also be happy if someone offered me a beer for my work, so you could also consider it BeerWare. But as I said, I don't know the original author's intentions, so think of it what you will, just don't sue me or anything + + +### Example + +You can use this library to perform matrix operations in Arduino easily. + +```cpp +#include + +float A[4] = {1, 2, 3, 4}; +float B[4] = {5, 6, 7, 8}; +float result[4]; + +void setup() { + Serial.begin(9600); + MatrixMath::multiplyMatrix(A, B, result, 2, 2, 2); + Serial.println(result[0]); // Output of matrix multiplication +} + +void loop() { +}