humoto
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
etools::CrossProductMatrix Class Reference

Detailed Description

Skew-symmetric cross product matrix.

Definition at line 18 of file cross_product.h.

#include <cross_product.h>

Public Member Functions

 CrossProductMatrix (const etools::Vector3 &vector)
 Default constructor. More...
 
etools::Matrix3 eval () const
 Evaluate this to matrix. More...
 
template<class t_DerivedInput , class t_DerivedOutput >
void multiplyLeft (Eigen::PlainObjectBase< t_DerivedOutput > &result, const Eigen::MatrixBase< t_DerivedInput > &matrix) const
 matrix * this More...
 
template<class t_DerivedInput , class t_DerivedOutput >
void multiplyRight (Eigen::PlainObjectBase< t_DerivedOutput > &result, const Eigen::MatrixBase< t_DerivedInput > &matrix) const
 this * matrix More...
 

Static Public Member Functions

static etools::Matrix3 eval (const etools::Vector3 &vector)
 Static function for transformation of a vector to cross product matrix. More...
 

Private Attributes

etools::Vector3 vector_
 

Constructor & Destructor Documentation

◆ CrossProductMatrix()

etools::CrossProductMatrix::CrossProductMatrix ( const etools::Vector3 &  vector)
inlineexplicit

Default constructor.

Parameters
[in]vector3d vector

Definition at line 30 of file cross_product.h.

Member Function Documentation

◆ eval() [1/2]

static etools::Matrix3 etools::CrossProductMatrix::eval ( const etools::Vector3 &  vector)
inlinestatic

Static function for transformation of a vector to cross product matrix.

Parameters
[in]vector
Returns
cross product matrix

Definition at line 42 of file cross_product.h.

◆ eval() [2/2]

etools::Matrix3 etools::CrossProductMatrix::eval ( ) const
inline

Evaluate this to matrix.

Returns
cross product matrix.

Definition at line 55 of file cross_product.h.

◆ multiplyLeft()

template<class t_DerivedInput , class t_DerivedOutput >
void etools::CrossProductMatrix::multiplyLeft ( Eigen::PlainObjectBase< t_DerivedOutput > &  result,
const Eigen::MatrixBase< t_DerivedInput > &  matrix 
) const
inline

matrix * this

Template Parameters
t_DerivedInputEigen parameter
t_DerivedOutputEigen parameter
Parameters
[out]result
[in]matrix

Definition at line 72 of file cross_product.h.

◆ multiplyRight()

template<class t_DerivedInput , class t_DerivedOutput >
void etools::CrossProductMatrix::multiplyRight ( Eigen::PlainObjectBase< t_DerivedOutput > &  result,
const Eigen::MatrixBase< t_DerivedInput > &  matrix 
) const
inline

this * matrix

Template Parameters
t_DerivedInputEigen parameter
t_DerivedOutputEigen parameter
Parameters
[out]result
[in]matrix

Definition at line 90 of file cross_product.h.

Member Data Documentation

◆ vector_

etools::Vector3 etools::CrossProductMatrix::vector_
private

Definition at line 21 of file cross_product.h.


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