update : 2015.11.03
php.shukuma.com검색:
|
Lapack::leastSquaresBySVD(PECL lapack >= 0.1.0) Lapack::leastSquaresBySVD — Solve the linear least squares problem, using SVD 설명
public static array Lapack::leastSquaresBySVD
( array
$a
, array $b
)Solve the linear least squares problem, find min x in || B - Ax || Returns an array representing x. Expects arrays of arrays, and will return an array of arrays in the dimension B num cols x A num cols. Uses SVD with a divide and conquer algorithm. 인수
반환값Returns the solution as an array of arrays. 예제
Example #1 Using Lapack::leastSquaresBySVD():
<?php |