23 #include <boost/serialization/nvp.hpp> 50 template<
int M,
int N>
77 return static_cast<Matrix>(*this);
118 throw std::runtime_error(
"LieMatrix::identity(): Don't use this function");
127 template<
class Archive>
129 ar & boost::serialization::make_nvp(
"Matrix",
130 boost::serialization::base_object<Matrix>(*
this));
143 if (H1) *H1 = Eye(origin);
144 if (H2) *H2 = Eye(origin);
void print(const Matrix &A, const string &s, ostream &stream)
Matrix< RealScalar, Dynamic, Dynamic > M
LieMatrix(size_t m, size_t n, const double *const data)
LieMatrix between(const LieMatrix &q)
void print(const std::string &name="") const
VectorSpace provides both Testable and VectorSpaceTraits.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set origin
static LieMatrix Expmap(const Vector &v)
A matrix or vector expression mapping an existing array of data.
LieMatrix(const Matrix &v)
void serialize(Archive &ar, const unsigned int)
Namespace containing all symbols from the Eigen library.
LieMatrix retract(const Vector &v)
Vector localCoordinates(const LieMatrix &q)
static LieMatrix Retract(const LieMatrix &origin, const TangentVector &v, ChartJacobian H1=boost::none, ChartJacobian H2=boost::none)
bool equals(const LieMatrix &expected, double tol=1e-5) const
LieMatrix(const Eigen::Matrix< double, M, N > &v)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
EIGEN_DEVICE_FUNC const Scalar & q
bool equal_with_abs_tol(const Eigen::DenseBase< MATRIX > &A, const Eigen::DenseBase< MATRIX > &B, double tol=1e-9)
static Vector Logmap(const LieMatrix &p)
Annotation for function names.
The matrix class, also used for vectors and row-vectors.
friend class boost::serialization::access
LieMatrix compose(const LieMatrix &q)
static LieMatrix identity()