PHP 7.4.0 alpha 1 Released

Lapack::pseudoInverse

(PECL lapack >= 0.1.0)

Lapack::pseudoInverseCalculate the inverse of a matrix

説明

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

Find the pseudoinverse of a matrix A.

パラメータ

a

Matrix to invert

返り値

Inverted matrix (array of arrays).

例1 Using Lapack::pseudoInverse():

<?php

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

   
$result Lapack::pseudoInverse($a);

   
?>

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top