# size_generator Class Reference

`#include <size_generator.h>`

List of all members.

## 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.

## Detailed Description

Generates progressively larger random matrices.

## Member Function Documentation

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
     }

Both elements are optional, with defaults as shown.

Reimplemented from bdm::root.

mat size_generator::next | ( |  | ) | `[virtual]`

Generates a matrix. Returned matrices should become progressively more complicated.

Implements generator.

The documentation for this class was generated from the following files:

- size_generator.h
- size_generator.cpp