| 23 | // (1-based) row/column number. |
| 24 | template <typename M> |
| 25 | void reset_ref(M &x) { |
| 26 | for (int i = 0; i < x.rows(); i++) { |
| 27 | for (int j = 0; j < x.cols(); j++) { |
| 28 | x(i, j) = 11 + 10 * i + j; |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | // Returns a static, column-major matrix |
| 34 | Eigen::MatrixXd &get_cm() { |
no test coverage detected