Template Function lvr2::operator*(const Eigen::Matrix<Scalar, 4, 4>&, const BaseVector<CoordType>&)
Defined in File BaseVector.hpp
Function Documentation
-
template<typename CoordType, typename Scalar = CoordType>
inline BaseVector<CoordType> lvr2::operator*(const Eigen::Matrix<Scalar, 4, 4> &mat, const BaseVector<CoordType> &vector) Multiplication operator to support transformation with Eigen matrices. Implementation for RowMajor matrices.
- Template Parameters:
CoordType – Coordinate type of the vector
Scalar – Scalar type of the Eigen matrix
- Parameters:
mat – Eigen matrix
vector – Input vector
- Returns:
BaseVector<CoordType> Transformed vector