MCPcopy Create free account
hub / github.com/JeanElsner/panda-py / VectorToArray

Function VectorToArray

include/utils.h:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template <int T>
28inline std::array<double, T> VectorToArray(
29 const Eigen::Matrix<double, T, 1>& matrix) {
30 std::array<double, T> array;
31 std::copy(matrix.data(), matrix.data() + T, array.data());
32 return array;
33}
34
35template <int T>
36inline std::array<double, T> VectorToArray(const Eigen::VectorXd& vector) {

Callers 4

stepMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85
stepMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected