function SvdSymSmallest(const S, Residuals: TVec; const V: TMtx; DesiredSCount: integer; RightVectors: boolean = false ; const fpm: TIntegerArray = nil ): integer; overload;
Computes smallest singular values and signular ectors for a symmetric sparse matrix.
| # | Name | Description |
|---|---|---|
| 1 | S | Returns the singular values. |
| 2 | Residuals | Returns the relative residual vector |
| 3 | V | Returns left singular vectors in rows. Pass nil for this parameter, if you don't require singular vectors, |
| 4 | DesiredSCount | The function will return up to DesiredSCount smallest singular values. |
| 5 | RightVectors | When V is not nil, left singular vectors are returned by default. Set this parameter to True, to obtain right singular vectors. |
| 6 | fpm | Optional: processing parameter list. Leave nil, to use default values. If you do pass this parameter, its length must be minimum 129 items. (Reference: Intel MKL manual). "fpm[0]" 0. Reserved for future use. "fpm[1]" 6. Defines the tolerance for the stopping criteria: tol = 10-pm 1 + 1 "fpm[2]" 0. Specifies the algorithm to use:
|
Returns: integer - The function will return the number of actually found eigen-values. If there was an error during evaluation, an exception will be raised with an error message.
The sparse matrix must be symmetric and it must use full storage.
Important:
- The routine does not check, if the matrix is symmetric.
- Inclusion of explicit zero valued elements could cause access violation.