ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
antidiagonal.php
Go to the documentation of this file.
1
<?
php
2
10
namespace
Matrix
;
11
19
if
(!function_exists(__NAMESPACE__ .
'\\antidiagonal'
)) {
20
function
antidiagonal(
$matrix
):
Matrix
21
{
22
if
(is_array(
$matrix
)) {
23
$matrix
=
new
Matrix
(
$matrix
);
24
}
25
if
(!
$matrix
instanceof
Matrix
) {
26
throw
new
Exception
(
'Must be Matrix or array'
);
27
}
28
29
return
Functions::antidiagonal
(
$matrix
);
30
}
31
}
Matrix\Functions\antidiagonal
static antidiagonal(Matrix $matrix)
Return the antidiagonal of this matrix.
Definition:
Functions.php:188
$matrix
$matrix
Definition:
test.php:18
php
Matrix
Class for the creating "special" Matrices.
Definition:
Builder.php:11
Exception
libs
composer
vendor
markbaker
matrix
classes
src
Functions
antidiagonal.php
Generated on Thu Feb 27 2025 19:01:21 for ILIAS by
1.8.13 (using
Doxyfile
)