vector.h 613 Bytes
Newer Older
Erik Strand's avatar
Erik Strand committed
1 2
#ifndef SIMUCENE_VECTOR_H
#define SIMUCENE_VECTOR_H
Erik Strand's avatar
Erik Strand committed
3 4 5

#include <Eigen/Core>

Erik Strand's avatar
Erik Strand committed
6
namespace simucene {
Erik Strand's avatar
Erik Strand committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

//--------------------------------------------------------------------------------------------------
template <typename T>
using Vector2 = Eigen::Matrix<T, 2, 1>;

//--------------------------------------------------------------------------------------------------
template <typename T>
using Vector3 = Eigen::Matrix<T, 3, 1>;

//--------------------------------------------------------------------------------------------------
template <typename T>
using VectorX = Eigen::Matrix<T, Eigen::Dynamic, 1>;

}

#endif