smooth
A C++ library for Lie theory
|
A Submanifold is a subspace of a manifold defined by an origin m0 and a tangent subspace. More...
#include <submanifold.hpp>
Public Member Functions | |
SubManifold () | |
Construct with full tangent space. | |
SubManifold (const M &m0, const M &m, Eigen::Ref< const Eigen::VectorXi > fixed_dims=Eigen::VectorXi::Zero(0)) | |
Create a sub-manifold of M defined as [ x \in M : x = x0 \oplus \sum_k \alpha_k e_{i_k}, \alpha_k \in R ] where k are the "active" dimensions. | |
SubManifold (const M &m0, Eigen::Ref< const Eigen::VectorXi > fixed_dims) | |
As above, but with m = m0. | |
const M & | m () const |
Access value in embedded space. | |
const M & | m0 () const |
Access origin in embedded space. | |
const Eigen::VectorXi & | fixed_dims () const |
Access active dimensions. | |
Eigen::Index | dof () const |
Degrees of freedom. | |
template<typename Derived > | |
SubManifold< M > | rplus (const Eigen::MatrixBase< Derived > &a) const |
Right-plus. | |
Eigen::Vector< typename traits::man< M >::Scalar, -1 > | rminus (const SubManifold< M > &other) const |
Right-minus. | |
A Submanifold is a subspace of a manifold defined by an origin m0 and a tangent subspace.
Definition at line 15 of file submanifold.hpp.
|
inline |
Construct with full tangent space.
Definition at line 21 of file submanifold.hpp.
|
inline |
Create a sub-manifold of M defined as [ x \in M : x = x0 \oplus \sum_k \alpha_k e_{i_k}, \alpha_k \in R ] where k are the "active" dimensions.
m0 | reference point |
m | current value |
fixed_dims | active dimensions |
Definition at line 37 of file submanifold.hpp.
|
inline |
As above, but with m = m0.
Definition at line 49 of file submanifold.hpp.
|
inline |
Degrees of freedom.
Definition at line 61 of file submanifold.hpp.
|
inline |
Access active dimensions.
Definition at line 58 of file submanifold.hpp.
|
inline |
Access value in embedded space.
Definition at line 52 of file submanifold.hpp.
|
inline |
Access origin in embedded space.
Definition at line 55 of file submanifold.hpp.
|
inline |
Right-minus.
Definition at line 83 of file submanifold.hpp.
|
inline |
Right-plus.
Definition at line 65 of file submanifold.hpp.