Lines Matching refs:MatrixType
15 template<typename MatrixType> void eigensolver(const MatrixType& m)
17 typedef typename MatrixType::Index Index;
24 typedef typename MatrixType::Scalar Scalar;
26 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
27 typedef Matrix<RealScalar, MatrixType::RowsAtCompileTime, 1> RealVectorType;
28 typedef typename std::complex<typename NumTraits<typename MatrixType::Scalar>::Real> Complex;
30 MatrixType a = MatrixType::Random(rows,cols);
31 MatrixType a1 = MatrixType::Random(rows,cols);
32 MatrixType symmA = a.adjoint() * a + a1.adjoint() * a1;
34 EigenSolver<MatrixType> ei0(symmA);
40 EigenSolver<MatrixType> ei1(a);
48 EigenSolver<MatrixType> eiNoEivecs(a, false);
53 MatrixType id = MatrixType::Identity(rows, cols);
59 a(0,0) = std::numeric_limits<typename MatrixType::RealScalar>::quiet_NaN();
60 EigenSolver<MatrixType> eiNaN(a);
65 template<typename MatrixType> void eigensolver_verify_assert(const MatrixType& m)
67 EigenSolver<MatrixType> eig;
73 MatrixType a = MatrixType::Random(m.rows(),m.cols());