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;
|
|
|
|
|
|
|
|
class Sample
|
|
|
|
{
|
2013-05-21 18:02:42 +01:00
|
|
|
private:
|
|
|
|
// type alias for disambiguation
|
|
|
|
typedef Eigen::Array<DMat,Eigen::Dynamic,1> ArrayType;
|
|
|
|
|
2013-05-01 14:35:30 +01:00
|
|
|
public:
|
|
|
|
// Constructors/destructor
|
|
|
|
Sample(void);
|
|
|
|
Sample(const unsigned int init_nsample, const unsigned int init_nrow,\
|
|
|
|
const unsigned int init_ncol);
|
|
|
|
~Sample(void);
|
|
|
|
// Operators
|
|
|
|
DMat& operator()(const int s);
|
|
|
|
|
|
|
|
private:
|
2013-05-21 18:02:42 +01:00
|
|
|
// type aliases
|
|
|
|
DMat central;
|
|
|
|
ArrayType sample;
|
2013-05-01 14:35:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
LATAN_END_CPPDECL
|
|
|
|
|
|
|
|
#endif
|