#include <additive_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 additive_generator::from_setting | ( | const Setting & | set | ) | [virtual] |
Load from structure with elements:
{ size = 7; // size (rows == cols) of the generated matrix lambda = 0.5; // weight of the added vector }
Reimplemented from bdm::root.
mat additive_generator::next | ( | ) | [virtual] |
Generates a matrix. Returned matrices should become progressively more complicated.
Implements generator.