pinocchio  UNKNOWN
Symmetric3Tpl< _Scalar, _Options > Class Template Reference

Classes

struct  AlphaSkewSquare
 
struct  SkewSquare
 

Public Types

enum  { Options = _Options }
 
typedef _Scalar Scalar
 
typedef Eigen::Matrix< Scalar, 3, 1, Options > Vector3
 
typedef Eigen::Matrix< Scalar, 6, 1, Options > Vector6
 
typedef Eigen::Matrix< Scalar, 3, 3, Options > Matrix3
 
typedef Eigen::Matrix< Scalar, 2, 2, Options > Matrix2
 
typedef Eigen::Matrix< Scalar, 3, 2, Options > Matrix32
 

Public Member Functions

template<typename Sc , int N, int Opt>
 Symmetric3Tpl (const Eigen::Matrix< Sc, N, N, Opt > &I)
 
 Symmetric3Tpl (const Vector6 &I)
 
 Symmetric3Tpl (const Scalar &a0, const Scalar &a1, const Scalar &a2, const Scalar &a3, const Scalar &a4, const Scalar &a5)
 
void setZero ()
 
void setRandom ()
 
void setIdentity ()
 
bool operator== (const Symmetric3Tpl &S2) const
 
bool isApprox (const Symmetric3Tpl &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
void fill (const Scalar value)
 
Symmetric3Tpl operator- (const SkewSquare &v) const
 
Symmetric3Tploperator-= (const SkewSquare &v)
 
Symmetric3Tpl operator- (const AlphaSkewSquare &v) const
 
Symmetric3Tploperator-= (const AlphaSkewSquare &v)
 
const Vector6 & data () const
 
Vector6 & data ()
 
Matrix3 matrix () const
 
 operator Matrix3 () const
 
Scalar vtiv (const Vector3 &v) const
 
template<typename Vector3 >
Matrix3 vxs (const Eigen::MatrixBase< Vector3 > &v) const
 Performs the operation \( [v]_{\cross} S \). This operation is equivalent to applying the cross product of v on each column of S. More...
 
template<typename Vector3 >
Matrix3 svx (const Eigen::MatrixBase< Vector3 > &v) const
 Performs the operation \( M = S_{3} [v]_{\cross \). More...
 
Symmetric3Tpl operator+ (const Symmetric3Tpl &s2) const
 
Symmetric3Tploperator+= (const Symmetric3Tpl &s2)
 
template<typename V3 >
Vector3 operator* (const Eigen::MatrixBase< V3 > &v) const
 
const Scalar & operator() (const int &i, const int &j) const
 
Symmetric3Tpl operator- (const Matrix3 &S) const
 
Symmetric3Tpl operator+ (const Matrix3 &S) const
 
Matrix32 decomposeltI () const
 Computes L for a symmetric matrix A.
 
template<typename D >
Symmetric3Tpl rotate (const Eigen::MatrixBase< D > &R) const
 

Static Public Member Functions

static Symmetric3Tpl Zero ()
 
static Symmetric3Tpl Random ()
 
static Symmetric3Tpl Identity ()
 
static Symmetric3Tpl RandomPositive ()
 
template<typename Vector3 , typename Matrix3 >
static void vxs (const Eigen::MatrixBase< Vector3 > &v, const Symmetric3Tpl &S3, const Eigen::MatrixBase< Matrix3 > &M)
 Performs the operation \( M = [v]_{\cross} S_{3} \). This operation is equivalent to applying the cross product of v on each column of S. More...
 
template<typename Vector3 , typename Matrix3 >
static void svx (const Eigen::MatrixBase< Vector3 > &v, const Symmetric3Tpl &S3, const Eigen::MatrixBase< Matrix3 > &M)
 Performs the operation \( M = S_{3} [v]_{\cross \). More...
 
template<typename V3in , typename V3out >
static void rhsMult (const Symmetric3Tpl &S3, const Eigen::MatrixBase< V3in > &vin, const Eigen::MatrixBase< V3out > &vout)
 

Protected Attributes

Vector6 data_
 

Friends

template<typename D >
Matrix3 operator- (const Symmetric3Tpl &S, const Eigen::MatrixBase< D > &M)
 
AlphaSkewSquare operator* (const Scalar &m, const SkewSquare &sk)
 

Detailed Description

template<typename _Scalar, int _Options>
class se3::Symmetric3Tpl< _Scalar, _Options >

Definition at line 41 of file spatial/fwd.hpp.

Member Function Documentation

static void svx ( const Eigen::MatrixBase< Vector3 > &  v,
const Symmetric3Tpl< _Scalar, _Options > &  S3,
const Eigen::MatrixBase< Matrix3 > &  M 
)
inlinestatic

Performs the operation \( M = S_{3} [v]_{\cross \).

Template Parameters
Vector3,Matrix3
Parameters
[in]va vector of dimension 3.
[in]S3a symmetric matrix of dimension 3x3.
[out]Man output matrix of dimension 3x3.

Definition at line 308 of file symmetric3.hpp.

Referenced by Symmetric3Tpl< double, 0 >::svx().

Matrix3 svx ( const Eigen::MatrixBase< Vector3 > &  v) const
inline

Performs the operation \( M = S_{3} [v]_{\cross \).

Template Parameters
Vector3
Parameters
[in]va vector of dimension 3.
Returns
the result \( S [v]_{\cross} \).

Definition at line 349 of file symmetric3.hpp.

static void vxs ( const Eigen::MatrixBase< Vector3 > &  v,
const Symmetric3Tpl< _Scalar, _Options > &  S3,
const Eigen::MatrixBase< Matrix3 > &  M 
)
inlinestatic

Performs the operation \( M = [v]_{\cross} S_{3} \). This operation is equivalent to applying the cross product of v on each column of S.

Template Parameters
Vector3,Matrix3
Parameters
[in]va vector of dimension 3.
[in]S3a symmetric matrix of dimension 3x3.
[out]Man output matrix of dimension 3x3.

Definition at line 247 of file symmetric3.hpp.

Referenced by Symmetric3Tpl< double, 0 >::vxs().

Matrix3 vxs ( const Eigen::MatrixBase< Vector3 > &  v) const
inline

Performs the operation \( [v]_{\cross} S \). This operation is equivalent to applying the cross product of v on each column of S.

Template Parameters
Vector3
Parameters
[in]va vector of dimension 3.
Returns
the result \( [v]_{\cross} S \).

Definition at line 291 of file symmetric3.hpp.


The documentation for this class was generated from the following files: