Brick
Toggle main menu visibility
Loading...
Searching...
No Matches
eigen_interface.h
1
#pragma once
2
3
#include <Eigen/Dense>
4
5
/**
6
* This header only serves to let you use Eigen's vectors and matrices without
7
* having to write out
8
* Eigen::Vector<double, DIM>
9
* Eigen::Matrix<double, ROWS, COLS>
10
*
11
* include this and use:
12
* EVec<DIM>
13
* EMAT<ROWS, COLS>
14
*/
15
template
<
int
DIM>
16
using
EVec = Eigen::Vector<double, DIM>;
17
18
template
<
int
ROWS,
int
COLS>
19
using
EMat = Eigen::Matrix<double, ROWS, COLS>;
core
math
eigen_interface.h
Generated by
1.18.0