11#ifndef EIGEN_MATRIXBASEEIGENVALUES_H
12#define EIGEN_MATRIXBASEEIGENVALUES_H
18template<
typename Derived,
bool IsComplex>
25 typedef typename Derived::PlainObject PlainObject;
26 PlainObject m_eval(m);
31template<
typename Derived>
37 typedef typename Derived::PlainObject PlainObject;
38 PlainObject m_eval(m);
65template<
typename Derived>
86template<
typename MatrixType,
unsigned int UpLo>
90 PlainObject thisAsMatrix(*
this);
118template<
typename Derived>
119inline typename MatrixBase<Derived>::RealScalar
123 typename Derived::PlainObject m_eval(derived());
126 return sqrt((m_eval*m_eval.adjoint())
128 .template selfadjointView<Lower>()
149template<
typename MatrixType,
unsigned int UpLo>
153 return eigenvalues().cwiseAbs().maxCoeff();
Computes eigenvalues and eigenvectors of general complex matrices.
Definition ComplexEigenSolver.h:46
const EigenvalueType & eigenvalues() const
Returns the eigenvalues of given matrix.
Definition ComplexEigenSolver.h:182
Computes eigenvalues and eigenvectors of general matrices.
Definition EigenSolver.h:65
const EigenvalueType & eigenvalues() const
Returns the eigenvalues of given matrix.
Definition EigenSolver.h:244
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
RealScalar operatorNorm() const
Computes the L2 operator norm.
Definition MatrixBaseEigenvalues.h:120
EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
Definition MatrixBaseEigenvalues.h:67
The matrix class, also used for vectors and row-vectors.
Definition Matrix.h:180
Computes eigenvalues and eigenvectors of selfadjoint matrices.
Definition SelfAdjointEigenSolver.h:77
EIGEN_DEVICE_FUNC const RealVectorType & eigenvalues() const
Returns the eigenvalues of given matrix.
Definition SelfAdjointEigenSolver.h:300
EIGEN_DEVICE_FUNC RealScalar operatorNorm() const
Computes the L2 operator norm.
Definition MatrixBaseEigenvalues.h:151
EIGEN_DEVICE_FUNC EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
Definition MatrixBaseEigenvalues.h:88
NumTraits< Scalar >::Real RealScalar
Definition SelfAdjointView.h:256
Namespace containing all symbols from the Eigen library.
Definition common.h:81
Definition MatrixBaseEigenvalues.h:20