9 inline std::array<double, dims>
toStd(
const Eigen::Matrix<double, dims, 1> &vector) {
10 std::array<double, dims> result;
11 Eigen::Matrix<double, dims, 1>::Map(result.data()) = vector;
16 inline Eigen::Matrix<double, dims, 1>
toEigen(
const std::array<double, dims> &vector) {
17 return Eigen::Matrix<double, dims, 1>::Map(vector.data());
Definition: gripper.cpp:3
std::array< double, dims > toStd(const Eigen::Matrix< double, dims, 1 > &vector)
Definition: util.hpp:9
Eigen::Matrix< double, dims, 1 > toEigen(const std::array< double, dims > &vector)
Definition: util.hpp:16