pinocchio  3.2.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
TridiagonalSymmetricMatrixTpl< _Scalar, _Options > Struct Template Reference

Dynamic size Tridiagonal symmetric matrix type This class is in practice used in Lanczos decomposition. More...

#include <pinocchio/math/tridiagonal-matrix.hpp>

Inheritance diagram for TridiagonalSymmetricMatrixTpl< _Scalar, _Options >:
Collaboration diagram for TridiagonalSymmetricMatrixTpl< _Scalar, _Options >:

Public Types

enum  { Options = _Options }
 
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1, Options > CoeffVectorType
 
typedef traits< Self >::PlainMatrixType PlainMatrixType
 
typedef _Scalar Scalar
 
typedef TridiagonalSymmetricMatrixTpl Self
 

Public Member Functions

 TridiagonalSymmetricMatrixTpl (const Eigen::DenseIndex size)
 Default constructor from a given size.
 
template<typename MatrixDerived >
TridiagonalSymmetricMatrixApplyOnTheLeftReturnType< MatrixDerived, SelfapplyOnTheLeft (const Eigen::MatrixBase< MatrixDerived > &mat) const
 
template<typename MatrixDerived >
TridiagonalSymmetricMatrixApplyOnTheRightReturnType< Self, MatrixDerived > applyOnTheRight (const Eigen::MatrixBase< MatrixDerived > &mat) const
 
EIGEN_CONSTEXPR Eigen::Index cols () const EIGEN_NOEXCEPT
 
CoeffVectorType & diagonal ()
 
const CoeffVectorType & diagonal () const
 
template<typename ResultType >
void evalTo (ResultType &result) const
 
TridiagonalSymmetricMatrixInverse< Selfinverse () const
 
bool isDiagonal (const Scalar prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isIdentity (const Scalar prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isZero (const Scalar prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
PlainMatrixType matrix () const
 
bool operator!= (const TridiagonalSymmetricMatrixTpl &other) const
 
template<typename MatrixDerived >
TridiagonalSymmetricMatrixApplyOnTheRightReturnType< Self, MatrixDerived > operator* (const Eigen::MatrixBase< MatrixDerived > &mat) const
 
bool operator== (const TridiagonalSymmetricMatrixTpl &other) const
 
EIGEN_CONSTEXPR Eigen::Index rows () const EIGEN_NOEXCEPT
 
template<typename VectorCoeffType >
void setDiagonal (const Eigen::MatrixBase< VectorCoeffType > &diagonal_coefficients)
 
void setIdentity ()
 
void setRandom ()
 
void setZero ()
 
CoeffVectorType & subDiagonal ()
 
const CoeffVectorType & subDiagonal () const
 

Protected Attributes

CoeffVectorType m_diagonal
 
Eigen::DenseIndex m_size
 
CoeffVectorType m_sub_diagonal
 

Detailed Description

template<typename _Scalar, int _Options>
struct pinocchio::TridiagonalSymmetricMatrixTpl< _Scalar, _Options >

Dynamic size Tridiagonal symmetric matrix type This class is in practice used in Lanczos decomposition.

Definition at line 161 of file tridiagonal-matrix.hpp.


The documentation for this struct was generated from the following file: