| Crates.io | matrix-mumu |
| lib.rs | matrix-mumu |
| version | 0.1.3 |
| created_at | 2025-08-16 07:41:13.572723+00 |
| updated_at | 2025-09-13 05:19:58.158525+00 |
| description | Matrix operations for the mumu/lava language |
| homepage | https://lava.nu11.uk |
| repository | https://gitlab.com/tofo/mumu-matrix |
| max_upload_size | |
| id | 1798082 |
| size | 43,236 |
Effective matrix-algebra plugin for Lava. Supports various matrix operations including addition, subtraction, multiplication, and transpose on int/ float 2xn arrays.
If GPU accelerattion is required see mumu-gpu
This project is part of the Lava/Mumu plugin stack./
To build as a plugin:
make
make install
The following functions are registered automatically:
matrix:addmatrix:subtractmatrix:miltiplymatrix:transposeExample usage (in Lava):
extend("matrix")
// Add two multidimensional int matrices
a = [[1, 2], [3, 4]]
b = [[5, 6], [7, 8]]
res = matrix:add(a, b)
// [[6, 8 ], [10, 12]]
## Functions
```lava
result = matrix:transpose([[1, 2], [3, 4]])
sput(result)
This project is licensed under the MIT And Apache 2.0 licenses.
Tom Fotheringham & contributors
See LICENSE.
Contributions in code or with issues are always welcome. Pull requests welcome!