39 if (MatrixType::SizeAtCompileTime ==
Dynamic || MatrixType::SizeAtCompileTime == 0)
42 if (MatrixType::RowsAtCompileTime ==
Dynamic)
44 if (MatrixType::ColsAtCompileTime ==
Dynamic)
47 if (MatrixType::RowsAtCompileTime ==
Dynamic && MatrixType::ColsAtCompileTime ==
Dynamic)
59 if(MatrixType::MaxColsAtCompileTime!=0 && MatrixType::MaxRowsAtCompileTime!=0)
61 Index rows = MatrixType::RowsAtCompileTime==
Dynamic ? internal::random<Index>(1,10) :
Index(MatrixType::RowsAtCompileTime);
62 Index cols = MatrixType::ColsAtCompileTime==
Dynamic ? internal::random<Index>(1,10) :
Index(MatrixType::ColsAtCompileTime);
68 Matrix<Scalar,Dynamic,Dynamic> prod =
m.template block<MatrixType::RowsAtCompileTime,0>(0,0,
rows,0) *
m.template block<0,MatrixType::ColsAtCompileTime>(0,0,0,
cols);
71 prod =
m.template block<1,0>(0,0) *
m.template block<0,1>(0,0);
81 if (VectorType::SizeAtCompileTime ==
Dynamic || VectorType::SizeAtCompileTime==0)
95 zeroSizedMatrix<Matrix2d>();
96 zeroSizedMatrix<Matrix3i>();
97 zeroSizedMatrix<Matrix<float, 2, Dynamic> >();
98 zeroSizedMatrix<MatrixXf>();
99 zeroSizedMatrix<Matrix<float, 0, 0> >();
100 zeroSizedMatrix<Matrix<float, Dynamic, 0, 0, 0, 0> >();
101 zeroSizedMatrix<Matrix<float, 0, Dynamic, 0, 0, 0> >();
102 zeroSizedMatrix<Matrix<float, Dynamic, Dynamic, 0, 0, 0> >();
103 zeroSizedMatrix<Matrix<float, 0, 4> >();
104 zeroSizedMatrix<Matrix<float, 4, 0> >();
106 zeroSizedVector<Vector2d>();
107 zeroSizedVector<Vector3i>();
108 zeroSizedVector<VectorXf>();
109 zeroSizedVector<Matrix<float, 0, 1> >();
110 zeroSizedVector<Matrix<float, 1, 0> >();