22if (!function_exists(__NAMESPACE__ .
'\\divideby')) {
23 function divideby(...$matrixValues):
Matrix
25 if (count($matrixValues) < 2) {
26 throw new Exception(
'Division operation requires at least 2 arguments');
29 $matrix = array_shift($matrixValues);
35 throw new Exception(
'Division arguments must be Matrix or array');
40 foreach ($matrixValues as
$matrix) {
An exception for terminatinating execution or to throw for unit testing.
Class for the creating "special" Matrices.