I am doing math with linear algebra and was looking for some really easy and easy to use matrix class that could handle different sizes: basically 2x2, 2x1, 3x1 and 1x2. I suggest that such a class can be implemented using templates and in some cases use some specialization for performance. Does anyone know of any simple implementation available for use? I don’t want “bloated” implementations, as I will run this in an embedded environment where memory is limited.
thanks
Blitz ++ - Boost uBLAS
++, Armadillo.
, Armadillo , LAPACK ( BLAS), . , , OpenBLAS ( ATLAS). FAQ Armadillo, .
Google , , Armadillo .
std:: valarray .
Newmat . , , ( 50 , Visual Studio 1,8 ).
CML , . , : http://cmldev.net/?p=418
, , :
https://launchpad.net/lwmatrix
, : http://koti.welho.com/aarpikar/lib/
, (2x2, 3x3, 3x1 ..), . , 4x4. , 4x4 . , , .:)
How easy is it to store a matrix in an array, for example
2x3 matrix = {2,3,val1,val2,...,val6}
It is really simple, and the addition operations are trivial. However, you need to write your own multiplication function.
Source: https://habr.com/ru/post/1715208/More articles:Built-in audio player user interface on iphone? - iphonejQuery gets the current click event for an element and adds to it - jqueryjQuery - jCarousel - FadeIn - jqueryHow to replace multiple lines with replace () in Javascript - javascriptSolr conditional additions / updates? - searchCode Optimization - optimizationSilverlight получает доступ к реакции ashx JSON - jsonHow can I show the git branch of a rails application in this application? - gitWhy is it impossible to install solr 1.3.0 using CentOS, plesk 9.2.1 and tomcat 5.5? - javaSubversion and mixed versions: a recipe for broken assemblies? - svnAll Articles