serve/vendor/markbaker/matrix/classes/src/Operationsdirectsum.php

Function code for the matrix direct sum operation

Functions

directsum()

directsum(array<int,mixed>  ...$matrixValues) : \Matrix\Matrix

Adds two or more matrices

Parameters

array $matrixValues variadic

The matrices to add

Throws

\Matrix\Exception

Returns

\Matrix\Matrix —