#include <geometric_progression.h>
|
| virtual void | advance () |
| | Multiply the current value by the geometric base.
|
| |
| virtual void | advance () |
| | Advances the current value to the next value of the progression.
|
| |
◆ GeometricProgression()
| dsac::design::GeometricProgression::GeometricProgression |
( |
long |
b = 2, |
|
|
long |
start = 1 |
|
) |
| |
|
inline |
Constructs a geometric progression with given base and start
- Parameters
-
| base | the base of the geometric progression (default: 2) |
| start | the first value of the geometric progression (default: 1) |
◆ advance()
| virtual void dsac::design::GeometricProgression::advance |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ base
| long dsac::design::GeometricProgression::base |
|
protected |
The documentation for this class was generated from the following file: