Skip to content

MatrixMath Library

Lubomir Jagos edited this page Jun 27, 2016 · 1 revision

For my own purposes I was thinking about implement matrix math to Arduino Compiler for LabVIEW. Maybe it looks useless, but with matrix computation you can implement derivative equations or something else. In short why to not have this feature :D ?

matrixmath pallete

Again I browsed arduino forum to find somethin useful and I found library from RobH45345. First I was thinking about implementing matrix with integers and then with double numbers, in the end I implement everything only with double, because result of operations with matrixes would be probably everytime only double number not integer.

Now there was question how to represent matrix in code itself. The most simple and elegant solution is using 1D arrays and telling each operation how many rows and columns passed matrix contains.

creating matrix

creating matrix translator

Development boards for this library are same as for complex numbers, just plain arduino.

matrixmath development board