Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
The Lapack class
(PECL lapack >= 0.1.0)
Введение
LAPACK is written in Fortran 90 and provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. This extension wraps the LAPACKE C bindings to allow access to several processes exposed by the library. Most functions work with arrays of arrays, representing rectangular matrices in row major order - so a two by two matrix [1 2; 3 4] would be array(array(1, 2), array(3, 4)).
All of the functions are called statically, for example $eig = Lapack::eigenvalues($a);
Обзор классов
Lapack {
/* Методы */
public static array eigenValues ( array $a [, array $left [, array $right ]] )
public static array identity ( int $n )
public static array leastSquaresByFactorisation ( array $a , array $b )
public static array leastSquaresBySVD ( array $a , array $b )
public static array pseudoInverse ( array $a )
public static array singularValues ( array $a )
public static array solveLinearEquation ( array $a , array $b )
}
Содержание
- Lapack::eigenValues — This function returns the eigenvalues for a given square matrix
- Lapack::identity — Return an identity matrix
- Lapack::leastSquaresByFactorisation — Calculate the linear least squares solution of a matrix using QR factorisation
- Lapack::leastSquaresBySVD — Solve the linear least squares problem, using SVD
- Lapack::pseudoInverse — Calculate the inverse of a matrix
- Lapack::singularValues — Calculated the singular values of a matrix
- Lapack::solveLinearEquation — Solve a system of linear equations
User Contributed Notes
There are no user contributed notes for this page.
Описание класса lapack, примеры использования класса lapack.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru