POLYMORPHIC_ARGUMENT_EXCEPTION
POLYMORPHIC_ARGUMENT_EXCEPTION = 'Invalid argument pattern for polymorphic function.'
Matrix class.
$A : array
Matrix storage.
$m : int
Matrix row dimension.
$n : int
Matrix column dimension.
__construct(mixed  ...$args) : mixed
                Polymorphic constructor.
As PHP has no support for polymorphic constructors, we use tricks to make our own sort of polymorphism using func_num_args, func_get_arg, and gettype. In essence, we're just implementing a simple RTTI filter and calling the appropriate constructor.
| mixed | $args variadic | 
solve(\PhpOffice\PhpSpreadsheet\Shared\JAMA\Matrix  $B) : \PhpOffice\PhpSpreadsheet\Shared\JAMA\Matrix
                Solve A*X = B.
| \PhpOffice\PhpSpreadsheet\Shared\JAMA\Matrix | $B | Right hand side  | 
                            
... Solution if A is square, least squares solution otherwise