Lines Matching refs:MatrixType
14 template<typename MatrixType> void inverse_permutation_4x4()
16 typedef typename MatrixType::Scalar Scalar;
20 MatrixType m = PermutationMatrix<4>(indices);
21 MatrixType inv = m.inverse();
22 double error = double( (m*inv-MatrixType::Identity()).norm() / NumTraits<Scalar>::epsilon() );
29 template<typename MatrixType> void inverse_general_4x4(int repeat)
32 typedef typename MatrixType::Scalar Scalar;
33 typedef typename MatrixType::RealScalar RealScalar;
37 MatrixType m;
40 m = MatrixType::Random();
43 MatrixType inv = m.inverse();
44 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / NumTraits<Scalar>::epsilon() );