Lapack::pseudoInverse
(PECL lapack >= 0.1.0)
Lapack::pseudoInverse — Calculate the inverse of a matrix
Описание
public static Lapack::pseudoInverse
( array
$a
) : arrayFind the pseudoinverse of a matrix A.
Список параметров
-
a
-
Matrix to invert
Возвращаемые значения
Inverted matrix (array of arrays).
Примеры
Пример #1 Using Lapack::pseudoInverse():
<?php
$a = array(
array( 8, 1, 6 ),
array( 3, 5, 7 ),
array( 4, 9, 2 ),
);
$result = Lapack::pseudoInverse($a);
?>