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( 
81),
       array( 
35),
       array( 
49),
   );

   
$result Lapack::pseudoInverse($a);

   
?>