template<typename _Derived>
manif::RnBase struct

The base class of the Rn group.

Base classes

template<class _Derived>
struct LieGroupBase<_Derived>
Base class for Lie groups. Defines the minimum common API.

Public types

using Transformation = typename internal::traits<_Derived>::Transformation

Public functions

auto inverse(OptJacobianRef J_minv_m = {}) const -> LieGroup
Get the inverse of this.
auto log(OptJacobianRef J_t_m = {}) const -> Tangent
Get the Rn corresponding Lie algebra element in vector form.
auto lift(OptJacobianRef J_t_m = {}) const -> MANIF_DEPRECATED Tangent
This function is deprecated. Please considere using log instead.
template<typename _DerivedOther>
auto compose(const LieGroupBase<_DerivedOther>& m, OptJacobianRef J_mc_ma = {}, OptJacobianRef J_mc_mb = {}) const -> LieGroup
Composition of this and another Rn element.
template<typename _EigenDerived>
auto act(const Eigen::MatrixBase<_EigenDerived>& v, tl::optional<Eigen::Ref<Eigen::Matrix<Scalar, Dim, DoF>>> J_vout_m = {}, tl::optional<Eigen::Ref<Eigen::Matrix<Scalar, Dim, Dim>>> J_vout_v = {}) const -> Eigen::Matrix< Scalar, Dim, 1 > -> auto
Translation action on a 2-vector.
auto adj() const -> Jacobian
Get the ajoint matrix of Rn at this.
auto transform() const -> Transformation
Get the transformation matrix (2D isometry).
auto coeffs() -> DataType&
Access the underlying data by const reference.
auto coeffs() const -> const DataType&
Access the underlying data by const reference.

Protected functions

auto derived() & -> _Derived& noexcept
auto derived() const & -> const _Derived& noexcept

Function documentation

template<typename _Derived>
LieGroup manif::RnBase<_Derived>::inverse(OptJacobianRef J_minv_m = {}) const

Get the inverse of this.

template<typename _Derived>
Tangent manif::RnBase<_Derived>::log(OptJacobianRef J_t_m = {}) const

Get the Rn corresponding Lie algebra element in vector form.

Returns The Rn tangent of this.

template<typename _Derived> template<typename _DerivedOther>
LieGroup manif::RnBase<_Derived>::compose(const LieGroupBase<_DerivedOther>& m, OptJacobianRef J_mc_ma = {}, OptJacobianRef J_mc_mb = {}) const

Composition of this and another Rn element.

Parameters
in Another Rn element.
J_mc_ma
J_mc_mb
Returns The composition of 'this . m'.

template<typename _Derived> template<typename _EigenDerived>
auto manif::RnBase<_Derived>::act(const Eigen::MatrixBase<_EigenDerived>& v, tl::optional<Eigen::Ref<Eigen::Matrix<Scalar, Dim, DoF>>> J_vout_m = {}, tl::optional<Eigen::Ref<Eigen::Matrix<Scalar, Dim, Dim>>> J_vout_v = {}) const -> Eigen::Matrix< Scalar, Dim, 1 >

Translation action on a 2-vector.

Parameters
v A 2-vector.
J_vout_m
J_vout_v
Returns The translated 2-vector.

template<typename _Derived>
Jacobian manif::RnBase<_Derived>::adj() const

Get the ajoint matrix of Rn at this.

template<typename _Derived>
Transformation manif::RnBase<_Derived>::transform() const

Get the transformation matrix (2D isometry).