| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Lapack::leastSquaresByFactorisation(PECL lapack >= 0.1.0) Lapack::leastSquaresByFactorisation — Calculate the linear least squares solution of a matrix using QR factorisation 説明
public static array Lapack::leastSquaresByFactorisation
( 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 QR or LQ factorisation on matrix A. パラメータ
返り値Array of the solution matrix 例
例1 Using Lapack::leastSquaresByFactorisation():
<?php |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Lapack::leastSquaresByFactorisation - Calculate the linear least squares solution of a matrix using QR factorisation」をGoogle検索
|