Matrix Data Type in C++
Is there a data type called Matrix in C++?
If Yes, which header file should be in开发者_JAVA技巧cluded for using it?
The Boost Matrix Library provides this. For higher numbers of dimensions, the Boost Multidimensional Array Library is also available.
Full examples are available on the documentation pages.
Eigen is another option.
Armadillo is also a good option. Very easy to use: its syntax is similar to Matlab.
精彩评论