Template Function lupnt::EigenToArray¶
Defined in File math_utils.h
Function Documentation¶
-
template<typename T, int N, typename Derived>
std::array<T, N> lupnt::EigenToArray(const Eigen::Matrix<T, N, 1> &x)¶ Copy the elements of a fixed-size Eigen column vector into a
std::array<T, / N>, converting element type viastatic_cast.@param x Input fixed-size Eigen column vector (size N) @return `std::array<T, N>` with the same elements, cast to `T`