Solution Vector from SVD SLA_SVDSOL
A x = b |
where:
A | is a given (rows) (columns) matrix, where | |
x | is the -vector we wish to find, and | |
b | is a given -vector |
by means of the Singular Value Decomposition method (SVD).
CALL sla_SVDSOL (M, N, MP, NP, B, U, W, V, WORK, X)
M,N | I | , , the numbers of rows and columns in matrix A |
| ||
MP,NP | I | physical dimensions of array containing matrix A |
| ||
B | D(M) | known vector b |
| ||
U | D(MP,NP) | array containing matrix U |
|
||
W | D(N) | diagonal matrix W (diagonal elements only) |
|
||
V | D(NP,NP) | array containing orthogonal matrix V |
WORK | D(N) | workspace |
|
||
X | D(N) | unknown vector x |
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 |
Note that and are the logical dimensions of the matrices and vectors concerned, which can be located in arrays of larger physical dimensions MP and NP. The solution is then found from the expression:
x = V WUb) |