Lines Matching defs:MatrixType
14 template<typename MatrixType> void verifyIsQuasiTriangular(const MatrixType& T)
16 typedef typename MatrixType::Index Index;
19 typedef typename MatrixType::Scalar Scalar;
40 template<typename MatrixType> void schur(int size = MatrixType::ColsAtCompileTime)
44 MatrixType A = MatrixType::Random(size, size);
45 RealSchur<MatrixType> schurOfA(A);
47 MatrixType U = schurOfA.matrixU();
48 MatrixType T = schurOfA.matrixT();
54 RealSchur<MatrixType> rsUninitialized;
60 MatrixType A = MatrixType::Random(size, size);
61 RealSchur<MatrixType> rs1;
63 RealSchur<MatrixType> rs2(A);
70 RealSchur<MatrixType> rs3;
71 rs3.setMaxIterations(RealSchur<MatrixType>::m_maxIterationsPerRow * size).compute(A);
81 MatrixType Atriangular = A;
86 VERIFY_IS_EQUAL(rs3.matrixU(), MatrixType::Identity(size, size));
89 RealSchur<MatrixType> rsOnlyT(A, false);
97 A(0,0) = std::numeric_limits<typename MatrixType::Scalar>::quiet_NaN();
98 RealSchur<MatrixType> rsNaN(A);