|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 132 ||All time: 9,060 This week: 368|
This class can calculate math progressions of several types.
It provides several functions that take an initial number and the number of iteratuons to compute math progressions.
Currently it can compute math progressions of types: fibonacci, collatz,
cauchy, conway, generic arithmetic, and arithmetic progression using U(n+1) = U(n) + p.
Prize: One downloadable e-book of choice by O'Reilly
|Progressions are sequences of numbers that are calculated based on the values of previous numbers in the sequence.
There are several types of math progressions. This class can compute the values of sequence numbers of several types of progressions.
Usage & debug
$math = new AwesomeProgression();
$math->debug('fibonnaci 4 = 3', $math->fibonnaci(4, true));
$math->debug('fibonnaci 8 = 21', $math->fibonnaci(8, true));
phpunit --verbose AwesomeProgressionTest.php
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.