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();
EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
IntermediateState sqrt(const Expression &arg)
RealScalar operatorNorm() const
Computes the L2 operator norm.
Computes eigenvalues and eigenvectors of selfadjoint matrices.
iterative scaling algorithm to equilibrate rows and column norms in matrices
EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
internal::traits< Derived >::Scalar Scalar
NumTraits< Scalar >::Real RealScalar
NumTraits< Scalar >::Real RealScalar
MatrixType::PlainObject PlainObject
RealScalar operatorNorm() const
Computes the L2 operator norm.
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.
static MatrixBase< Derived >::EigenvaluesReturnType const run(const MatrixBase< Derived > &m)
Base class for all dense matrices, vectors, and expressions.