Singular Value Decomposition SLA_SVD
| A = U W V |
where:
| A | is any (rows) (columns) matrix, where | |
| U | is an column-orthogonal matrix | |
| W | is an diagonal matrix with | |
| V | is the transpose of an orthogonal matrix |
CALL sla_SVD (M, N, MP, NP, A, W, V, WORK, JSTAT)| M,N | I | , , the numbers of rows and columns in matrix A |
|
| ||
| MP,NP | I | physical dimensions of array containing matrix A |
|
|
||
| A | D(MP,NP) | array containing matrix A |
| A | D(MP,NP) | array containing column-orthogonal matrix U |
|
| ||
| W | D(N) | diagonal matrix W (diagonal elements only) |
|
| ||
| V | D(NP,NP) | array containing orthogonal matrix V (n.b. not V) |
|
|
||
| WORK | D(N) | workspace |
|
|
||
| JSTAT | I | 0 = OK, 1 = array A wrong shape, 0 = index of W for which convergence failed (see note 3, below) |