1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-14 01:45:35 +00:00
LatAnalyze/latan/Sample.hpp

35 lines
632 B
C++
Raw Normal View History

#ifndef LATAN_SAMPLE_HPP_
#define LATAN_SAMPLE_HPP_
2013-05-01 14:35:30 +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
{
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:
// type aliases
DMat central;
ArrayType sample;
2013-05-01 14:35:30 +01:00
};
LATAN_END_CPPDECL
#endif