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;
|
|
|
|
|
|
|
|
class DMat: public DMatBase, public IOObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// constructors
|
|
|
|
DMat(void);
|
|
|
|
DMat(const DMat& M);
|
|
|
|
DMat(unsigned int nrow, unsigned int ncol);
|
|
|
|
// IO
|
2014-01-21 13:29:04 +00:00
|
|
|
virtual IOType getType(void);
|
2013-05-21 18:02:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
LATAN_END_CPPDECL
|
|
|
|
|
|
|
|
#endif
|