Home | History | Annotate | Download | only in eigen2

Lines Matching refs:MatrixType

29 template<typename MatrixType> void inverse_permutation_4x4()
31 typedef typename MatrixType::Scalar Scalar;
32 typedef typename MatrixType::RealScalar RealScalar;
36 MatrixType m = MatrixType::Zero();
41 MatrixType inv = m.inverse();
42 double error = double( (m*inv-MatrixType::Identity()).norm() / epsilon<Scalar>() );
48 template<typename MatrixType> void inverse_general_4x4(int repeat)
50 typedef typename MatrixType::Scalar Scalar;
51 typedef typename MatrixType::RealScalar RealScalar;
55 MatrixType m;
58 m = MatrixType::Random();
61 MatrixType inv = m.inverse();
62 double error = double( (m*inv-MatrixType::Identity()).norm() * absdet / epsilon<Scalar>() );