00001 00013 #ifndef SIZE_GENERATOR_H 00014 #define SIZE_GENERATOR_H 00015 00016 #include "itpp_ext.h" 00017 #include "generator.h" 00018 00021 class size_generator : public generator 00022 { 00023 private: 00024 int step; 00025 int sz; 00026 00027 public: 00028 size_generator():step(7), sz(step) { } 00029 00030 itpp::mat next(); 00031 00039 void from_setting(const Setting &set); 00040 }; 00041 00042 #endif