Matrix of any mxn size

Is there an addon in oF that deals with matrix operations that are not 3x3 or 4x4?
I want to some exercises from the book Kalman Filtering: Theory and Practice Using MATLAB, but using oF…
I have to transpose, mxn matrices, find determinants, inverses, products…

Probably the best way to go is to convert them to ofxCv matrices, to use OpenCV

You can also use Eigen library which is a lot lighter than OpenCV. Don’t know if there’s an addon for it but you can just use it directly, really simple to use.

You maaaay even be able to do something like:

MatrixXd m;
m << ofMatrix4x4();

Not sure though :smiley:

Thank you very much!
How do I use a C++ library? I put in the XCode project the header files in the same folder? is that it?
I don’t need to put in the addons folder or anything right?

Well, in this case you’re in luck and this library is header only. So just put it in your src folder and include it.

Thank you!