Lapack::pseudoInverse
(PECL lapack >= 0.1.0)
Lapack::pseudoInverse — Calculate the inverse of a matrix
Description
public static array Lapack::pseudoInverse
( array
$a
)Find the pseudoinverse of a matrix A.
Parameters
-
a
-
Matrix to invert
Return Values
Inverted matrix (array of arrays).
Examples
Example #1 Using Lapack::pseudoInverse():
<?php
$a = array(
array( 8, 1, 6 ),
array( 3, 5, 7 ),
array( 4, 9, 2 ),
);
$result = Lapack::pseudoInverse($a);
?>
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Математические расширения
- Lapack
- Функция Lapack::eigenValues() - This function returns the eigenvalues for a given square matrix
- Функция Lapack::identity() - Return an identity matrix
- Функция Lapack::leastSquaresByFactorisation() - Calculate the linear least squares solution of a matrix using QR factorisation
- Функция Lapack::leastSquaresBySVD() - Solve the linear least squares problem, using SVD
- Функция Lapack::pseudoInverse() - Calculate the inverse of a matrix
- Функция Lapack::singularValues() - Calculated the singular values of a matrix
- Функция Lapack::solveLinearEquation() - Solve a system of linear equations
Коментарии
404 Not Found