8 template <
unsigned int rows,
unsigned int cols>
10 Eigen::Matrix<double, rows, cols> eigenMatrix;
12 for (
unsigned int row=0; row < rows; ++row) {
13 for (
unsigned int col=0; col < cols; ++col) {
14 eigenMatrix(row, col) = rkMatrix[cols*row + col];
22 template <
unsigned int rows,
unsigned int cols>
26 for (
unsigned int row=0; row < rows; ++row) {
27 for (
unsigned int col=0; col < cols; ++col) {
28 rkMatrix(row, col) = eigenMatrix(row, col);