Lines Matching refs:MatrixType
14 template<typename MatrixType> void generalized_eigensolver_real(const MatrixType& m)
16 typedef typename MatrixType::Index Index;
23 typedef typename MatrixType::Scalar Scalar;
24 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
26 MatrixType a = MatrixType::Random(rows,cols);
27 MatrixType b = MatrixType::Random(rows,cols);
28 MatrixType a1 = MatrixType::Random(rows,cols);
29 MatrixType b1 = MatrixType::Random(rows,cols);
30 MatrixType spdA = a.adjoint() * a + a1.adjoint() * a1;
31 MatrixType spdB = b.adjoint() * b + b1.adjoint() * b1;
34 GeneralizedSelfAdjointEigenSolver<MatrixType> symmEig(spdA, spdB);
35 GeneralizedEigenSolver<MatrixType> eig(spdA, spdB);