Template Function navtk::navutils::skew(const B&)

Function Documentation

template<typename B = Matrix, IfTensorOfDim<B, 2>* = nullptr>
Tensor<3> navtk::navutils::skew(const B &angles)

Batched version of skew.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

See also

skew

Template Parameters
  • B – Type of angles, Matrix by default.

  • std::enable_if_t<> – Constrains B to be 2 dimensional.

Parameters

angles – 3-length vectors of angular values, shape (N, 3). Can accept initializer lists.

Returns

Equivalent skew-symmetric matrices, shape (N, 3, 3)