Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class SeriesSum |
||
9 | { |
||
10 | /** |
||
11 | * SERIESSUM. |
||
12 | * |
||
13 | * Returns the sum of a power series |
||
14 | * |
||
15 | * @param mixed $x Input value |
||
16 | * @param mixed $n Initial power |
||
17 | * @param mixed $m Step |
||
18 | * @param mixed[] $args An array of coefficients for the Data Series |
||
19 | * |
||
20 | * @return float|string The result, or a string containing an error |
||
21 | */ |
||
22 | 15 | public static function funcSeriesSum($x, $n, $m, ...$args) |
|
47 |