Lapack::pseudoInverse

(PECL lapack >= 0.1.0)

Lapack::pseudoInverseCalculate the inverse of a matrix

Beschreibung

public static Lapack::pseudoInverse ( array $a ) : array

Find the pseudoinverse of a matrix A.

Parameter-Liste

a

Matrix to invert

Rückgabewerte

Inverted matrix (array of arrays).

Beispiele

Beispiel #1 Using Lapack::pseudoInverse():

<?php

   $a 
= array(
       array( 
81),
       array( 
35),
       array( 
49),
   );

   
$result Lapack::pseudoInverse($a);

   
?>