Go to the documentation of this file.
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>
86 template<
typename MatrixType,
unsigned int UpLo>
118 template<
typename Derived>
123 typename Derived::PlainObject m_eval(derived());
126 return sqrt((m_eval*m_eval.adjoint())
128 .template selfadjointView<Lower>()
149 template<
typename MatrixType,
unsigned int UpLo>
153 return eigenvalues().cwiseAbs().maxCoeff();
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
NumTraits< Scalar >::Real RealScalar
EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
const EIGEN_DEVICE_FUNC RealVectorType & eigenvalues() const
Returns the eigenvalues of given matrix.
MatrixType::PlainObject PlainObject
EIGEN_DEVICE_FUNC EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
const EigenvalueType & eigenvalues() const
Returns the eigenvalues of given matrix.
EIGEN_DEVICE_FUNC RealScalar operatorNorm() const
Computes the L2 operator norm.
RealScalar operatorNorm() const
Computes the L2 operator norm.
Computes eigenvalues and eigenvectors of selfadjoint matrices.
NumTraits< Scalar >::Real RealScalar
Matrix< std::complex< RealScalar >, internal::traits< Derived >::ColsAtCompileTime, 1, ColMajor > EigenvaluesReturnType
static const MatrixBase< Derived >::EigenvaluesReturnType run(const MatrixBase< Derived > &m)
Computes eigenvalues and eigenvectors of general complex matrices.
Computes eigenvalues and eigenvectors of general matrices.
The matrix class, also used for vectors and row-vectors.
Base class for all dense matrices, vectors, and expressions.
Jet< T, N > sqrt(const Jet< T, N > &f)
static const MatrixBase< Derived >::EigenvaluesReturnType run(const MatrixBase< Derived > &m)
const EigenvalueType & eigenvalues() const
Returns the eigenvalues of given matrix.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:06