PhpSpreadsheet/tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig
Mark Baker 291ea88a6c
Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562)
* Initial work enabling Excel function implementations for handling arrays as aguments when used in "array formulae".

So far:
 - handling for single argument functions
 - for functions where only one of the arguments is an array (a matrix or a row/column vector)
 - for when there are two array arguments, and one is a row vector, the other a column vector
 - for when there are either 2 row vectors, or 2 column vectors
 - for a matrix and either a row or column vector 

Will work ok, as long as there are no more than two array arguments; still need to identify the logic to apply when there are more than two arrays; or there are two that aren't an already supported row vector/column vector pairing (ie two matrices).

* Throw an exception if we have three or more array arguments (after flattening) passed to a supported function until we can identify the abstruse non-euclidian logic behind how Excel handles building, using and presenting those n-dimensional result arrays

* Implement array arguments for the DATE() function so that we can verify that paired arrays/vectors work with functions that support more than 2 arguments

* Implement array arguments for the many of the Math/Trig functions

* Update change log
2022-02-09 15:12:54 +01:00
..
AbsTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AcosTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AcoshTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AcotTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AcothTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AllSetupTeardown.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
ArabicTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AsinTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AsinhTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
Atan2Test.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AtanTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
AtanhTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
BaseTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
CeilingMathTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
CeilingPreciseTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
CeilingTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
CombinATest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
CombinTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
CosTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
CoshTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
CotTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
CothTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
CscTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
CschTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
DegreesTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
EvenTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
ExpTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
FactDoubleTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
FactTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
FloorMathTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
FloorPreciseTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
FloorTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
GcdTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
IntTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
LcmTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
LnTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
Log10Test.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
LogTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
MInverseTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
MMultTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
MRoundTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
MUnitTest.php MathTrig - Change Names of funcWhatever to evaluate (#2008) 2021-04-20 22:43:29 +02:00
MdeTermTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
ModTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
MovedFunctionsTest.php Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
MultinomialTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
OddTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
PowerTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
ProductTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
QuotientTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
RadiansTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
RandArrayTest.php Additional unit tests for RANDARRAY() Math/Trig function implementation (#2563) 2022-02-07 10:19:19 +01:00
RandBetweenTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
RandTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
RomanTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
RoundDownTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
RoundTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
RoundUpTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
SecTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
SechTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
SequenceTest.php Implementation of the SEQUENCE() Excel365 function (#2536) 2022-01-29 14:32:40 +01:00
SeriesSumTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
SignTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
SinTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
SinhTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
SqrtPiTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
SqrtTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
SubTotalTest.php 2 Tests vs. Scrutinizer/Phpstan 2021-07-01 11:15:02 +02:00
SumIfTest.php Fix for Issue 2158 (AverageIf Calculation Problem) (#2160) 2021-06-15 09:54:57 +02:00
SumIfsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
SumProductTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
SumSqTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
SumTest.php Missed One 2021-05-14 09:54:24 +02:00
SumX2MY2Test.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
SumX2PY2Test.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
SumXMY2Test.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00
TanTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
TanhTest.php Initial work enabling Excel function implementations for handling arrays as arguments when used in "array formulae". (#2562) 2022-02-09 15:12:54 +01:00
TruncTest.php Minor Improvement to Test Cleanup MathTrig 2021-05-14 09:54:24 +02:00