1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-08-05 07:17:11 +01:00

first experimental IO that read matrices from a bison/flex parser

This commit is contained in:
2013-05-21 18:02:42 +01:00
parent 30c8c2e205
commit 86d9607224
22 changed files with 763 additions and 55 deletions

29
latan/Mat.hpp Normal file
View File

@@ -0,0 +1,29 @@
#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
virtual IOTypes::Type IOType(void);
};
LATAN_END_CPPDECL
#endif