2013-05-21 18:02:42 +01:00
|
|
|
#ifndef LATAN_SAMPLE_HPP_
|
|
|
|
#define LATAN_SAMPLE_HPP_
|
2013-05-01 14:35:30 +01:00
|
|
|
|
2013-05-21 18:02:42 +01:00
|
|
|
#include <latan/Global.hpp>
|
|
|
|
#include <latan/Mat.hpp>
|
2013-05-01 14:35:30 +01:00
|
|
|
|
|
|
|
LATAN_BEGIN_CPPDECL
|
|
|
|
|
|
|
|
const int Central = -1;
|
|
|
|
|
2014-01-22 15:57:47 +00:00
|
|
|
typedef Eigen::Array<DMat, Eigen::Dynamic, 1> DSampleBase;
|
|
|
|
|
|
|
|
class DSample: public DSampleBase
|
2013-05-01 14:35:30 +01:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
// Constructors/destructor
|
2014-01-22 15:57:47 +00:00
|
|
|
DSample(void);
|
|
|
|
DSample(const unsigned int nSample, const unsigned int nRow,
|
|
|
|
const unsigned int nCol);
|
|
|
|
~DSample(void);
|
2013-05-01 14:35:30 +01:00
|
|
|
// Operators
|
|
|
|
DMat& operator()(const int s);
|
|
|
|
};
|
|
|
|
|
|
|
|
LATAN_END_CPPDECL
|
|
|
|
|
|
|
|
#endif
|