update : 2015.11.03
php.shukuma.com

검색:
 
 
Calculate the inverse of a matrix

Lapack::pseudoInverse

(PECL lapack >= 0.1.0)

Lapack::pseudoInverseCalculate the inverse of a matrix

설명

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

Find the pseudoinverse of a matrix A.

인수

a

Matrix to invert

반환값

Inverted matrix (array of arrays).

예제

Example #1 Using Lapack::pseudoInverse():

<?php

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

   
$result Lapack::pseudoInverse($a);

   
?>