#include <arithmetic_progression.h>
|
virtual void | advance () |
| Adds the arithmetic increment to the current value.
|
|
virtual void | advance () |
| Advances the current value to the next value of the progression.
|
|
◆ ArithmeticProgression()
dsac::design::ArithmeticProgression::ArithmeticProgression |
( |
long |
stepsize = 1 , |
|
|
long |
start = 0 |
|
) |
| |
|
inline |
Constructs an arithmetic progression with given start value (default: 0) and given stepsize (default: 1)
- Parameters
-
stepsize | the increment value for the arithmetic progression |
start | the first value of the arithmetic progression |
◆ advance()
virtual void dsac::design::ArithmeticProgression::advance |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ increment
long dsac::design::ArithmeticProgression::increment |
|
protected |
The documentation for this class was generated from the following file: