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>
91 typedef typename SelfAdjointView<MatrixType, UpLo>::PlainObject PlainObject;
92 PlainObject thisAsMatrix(*
this);
120 template<
typename Derived>
121 inline typename MatrixBase<Derived>::RealScalar
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
The numeric type of the expression' coefficients, e.g.
Definition: DenseBase.h:66
Definition: SelfAdjointEigenSolver.h:70
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:85
NumTraits< Scalar >::Real RealScalar
Real part of Scalar.
Definition: SelfAdjointView.h:209
EIGEN_DEVICE_FUNC RealScalar operatorNorm() const
Computes the L2 operator norm.
Definition: MatrixBaseEigenvalues.h:153
RealScalar operatorNorm() const
Computes the L2 operator norm.
Definition: MatrixBaseEigenvalues.h:122
Definition: BandTriangularSolver.h:13
Definition: MatrixBaseEigenvalues.h:19
EIGEN_DEVICE_FUNC EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
Definition: MatrixBaseEigenvalues.h:89
Definition: EigenSolver.h:64
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:178
Definition: ComplexEigenSolver.h:45
EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
Definition: MatrixBaseEigenvalues.h:67
Base class for all dense matrices, vectors, and expressions.
Definition: MatrixBase.h:48
Definition: ForwardDeclarations.h:17