EigenOpt 1.0.0
Loading...
Searching...
No Matches
typedefs.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <Eigen/Dense>
4
5// Simple macro to define VectorXs and MatrixXs.
6#define EigenOptTypedefs(ScalarType)\
7typedef Eigen::Matrix<ScalarType,Eigen::Dynamic,1> VectorXs;\
8 typedef Eigen::Matrix<ScalarType,Eigen::Dynamic,Eigen::Dynamic> MatrixXs;