#include <size_generator.h>
Public Member Functions | |
itpp::mat | next () |
void | from_setting (const Setting &set) |
virtual string | to_string () |
This method returns a basic info about the current instance. | |
virtual void | to_setting (Setting &set) const |
This method save all the instance properties into the Setting structure. | |
virtual void | validate () |
This method TODO. |
void size_generator::from_setting | ( | const Setting & | set | ) | [virtual] |
Load from structure with elements:
{ size = 7; // size (rows == cols) of the first generated matrix step = 7; // how many times to increase the generated matrix in every iteration }
Reimplemented from bdm::root.
mat size_generator::next | ( | ) | [virtual] |
Generates a matrix. Returned matrices should become progressively more complicated.
Implements generator.