Defined in File MatrixTools.hpp
Converts the other matrix into a equivalent matrix of the template parametrized type.
other – The input Matrix.
Matrix of type DenseMatrix, CSRMatrix or DynamicMatrix.