11 #ifndef EIGEN_MATRIXBASEEIGENVALUES_H 12 #define EIGEN_MATRIXBASEEIGENVALUES_H 18 template<
typename Derived,
bool IsComplex>
25 typedef typename Derived::PlainObject PlainObject;
26 PlainObject m_eval(m);
31 template<
typename Derived>
37 typedef typename Derived::PlainObject PlainObject;
38 PlainObject m_eval(m);
65 template<
typename Derived>
87 template<
typename MatrixType,
unsigned int UpLo>
92 PlainObject thisAsMatrix(*
this);
120 template<
typename Derived>
125 typename Derived::PlainObject m_eval(derived());
128 return sqrt((m_eval*m_eval.adjoint())
130 .template selfadjointView<Lower>()
151 template<
typename MatrixType,
unsigned int UpLo>
155 return eigenvalues().cwiseAbs().maxCoeff();
internal::traits< Derived >::Scalar Scalar
Computes eigenvalues and eigenvectors of selfadjoint matrices.
RealScalar operatorNorm() const
Computes the L2 operator norm.
NumTraits< Scalar >::Real RealScalar
NumTraits< Scalar >::Real RealScalar
MatrixType::PlainObject PlainObject
RealScalar operatorNorm() const
Computes the L2 operator norm.
EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
Computes eigenvalues and eigenvectors of general matrices.
The matrix class, also used for vectors and row-vectors.
static MatrixBase< Derived >::EigenvaluesReturnType const run(const MatrixBase< Derived > &m)
Computes eigenvalues and eigenvectors of general complex matrices.
EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
static MatrixBase< Derived >::EigenvaluesReturnType const run(const MatrixBase< Derived > &m)
Base class for all dense matrices, vectors, and expressions.
const CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const Derived > sqrt() const