略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Lapack::pseudoInverse

2024-05-02

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).

范例

Example #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.

官方地址:https://www.php.net/manual/en/lapack.pseudoinverse.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3