A header-only C++ progression library implementing arithmetic, geometric, and Fibonacci progressions.
Features
- Arithmetic progressions
- Geometric progressions
- Fibonacci sequences
- Easy-to-use interface
Usage
#include "progression.hpp"
int main(){
delete ap;
return 0;
}
Arithmetic progression: each term is obtained by adding a fixed increment.
Definition progression.hpp:83
A header only c++ progression library.
Definition progression.hpp:40
void print_progression(int n)
Prints the first n terms of the progression.
Definition progression.hpp:187
To see the documentation for the core logic, please check the Progression class.