Lapack
PHP Manual

Lapack::pseudoInverse

(PECL lapack >= 0.1.0)

Lapack::pseudoInverseCalculate the inverse of a matrix

Descrizione

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

Find the pseudoinverse of a matrix A.

Elenco dei parametri

a

Matrix to invert

Valori restituiti

Inverted matrix (array of arrays).

Esempi

Example #1 Using Lapack::pseudoInverse():

<?php

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

   
$result Lapack::pseudoInverse($a);

   
?>


Lapack
PHP Manual