1 from coolfluid
import *
10 cf_check(mat1.rows() == 3
and mat1.cols() == 3,
'Static matrix size test')
13 cf_check(mat2.rows() == 5
and mat2.cols() == 3,
'Dynamic matrix size test')
21 vec2.resize(len(vec1))
24 mat2.resize(mat1.rows(),mat1.cols())
25 cf_check(mat2.rows() == 3
and mat2.cols() == 3,
'matrix resize test')
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealMatrix
Dynamic sized matrix of Real scalars.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealVector
Dynamic sized column vector.
Eigen::Matrix< Real, 3, 3 > RealMatrix3
Fixed size 3x3 matrix.
Eigen::Matrix< Real, 3, 1 > RealVector3
Fixed size 3x1 column vector.