2013-05-21 18:02:42 +01:00
|
|
|
#ifndef LATAN_MAT_HPP_
|
|
|
|
#define LATAN_MAT_HPP_
|
|
|
|
|
|
|
|
#include <latan/Eigen/Dense>
|
|
|
|
#include <latan/Global.hpp>
|
|
|
|
#include <latan/IOObject.hpp>
|
|
|
|
|
|
|
|
LATAN_BEGIN_CPPDECL
|
|
|
|
|
|
|
|
// Eigen aliases
|
|
|
|
typedef Eigen::MatrixXd DMatBase;
|
|
|
|
typedef Eigen::MatrixXcd CMatBase;
|
|
|
|
typedef Eigen::VectorXd DVecBase;
|
|
|
|
typedef Eigen::VectorXcd CVecBase;
|
|
|
|
|
2014-01-22 15:57:47 +00:00
|
|
|
class DMat: public DMatBase, public IoObject
|
2013-05-21 18:02:42 +01:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// constructors
|
|
|
|
DMat(void);
|
|
|
|
DMat(const DMat& M);
|
2014-01-22 15:57:47 +00:00
|
|
|
DMat(const unsigned int nRow, const unsigned int nCol);
|
2013-05-21 18:02:42 +01:00
|
|
|
// IO
|
2014-01-22 15:57:47 +00:00
|
|
|
virtual unsigned int getType(void);
|
2013-05-21 18:02:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
LATAN_END_CPPDECL
|
|
|
|
|
|
|
|
#endif
|