mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-22 11:33:42 +00:00
42ecc270ec
* Extract Permutation functions from the Statistical class into a dedicated Permutations class Retain the original methods in the Statistical class as stubs for BC, but deprecate them. They will be removed for PHPSpreadsheet v2 Note that unit tests still point to the Statistical class stubs; these should be modified to use the Permutations class directly when the stubs are removed Also provided a basic implementationof the PERMUTATIONA() Function
29 lines
275 B
PHP
29 lines
275 B
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
5,
|
|
5, 1,
|
|
],
|
|
[
|
|
2,
|
|
2.2, 1.1,
|
|
],
|
|
[
|
|
5,
|
|
5.1, 1.9,
|
|
],
|
|
[
|
|
1,
|
|
1, 2,
|
|
],
|
|
[
|
|
'#NUM!',
|
|
-1, 2,
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
49, 'NaN',
|
|
],
|
|
];
|