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>
118template<
typename Derived>
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();
Matrix3f m
Definition AngleAxis_mimic_euler.cpp:1
#define EIGEN_DEVICE_FUNC
Definition Macros.h:976
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
NumTraits< Scalar >::Real RealScalar
Definition MatrixBase.h:58
Matrix< std::complex< RealScalar >, internal::traits< Derived >::ColsAtCompileTime, 1, ColMajor > EigenvaluesReturnType
Definition MatrixBase.h:115
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
MatrixType::PlainObject PlainObject
Definition SelfAdjointView.h:71
NumTraits< Scalar >::Real RealScalar
Definition SelfAdjointView.h:256
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85
Definition BandTriangularSolver.h:13
static MatrixBase< Derived >::EigenvaluesReturnType const run(const MatrixBase< Derived > &m)
Definition MatrixBaseEigenvalues.h:35
Definition MatrixBaseEigenvalues.h:20
static MatrixBase< Derived >::EigenvaluesReturnType const run(const MatrixBase< Derived > &m)
Definition MatrixBaseEigenvalues.h:23
Definition ForwardDeclarations.h:17