메소드 | 설명 | |
---|---|---|
CalcDecomposition ( double A, int m, int n, double w, int matu, double U, int matv, double V, int &ierr ) : void |
Calculates a singular value decomposition of the matrix.
|
|
Solve ( double A, double b, double x ) : void |
Solves a linear equations system (A * x = B).
|
메소드 | 설명 | |
---|---|---|
dSign ( double a, double b ) : double | ||
svdLeastSquares ( double U, double w, double V, int m, int n, double b, double x ) : void |
public static CalcDecomposition ( double A, int m, int n, double w, int matu, double U, int matv, double V, int &ierr ) : void | ||
A | double | Matrix |
m | int | A row number of the matrix A |
n | int | A column number of the matrix A |
w | double | Vector of singular values |
matu | int | |
U | double | First matrix in decomposition |
matv | int | |
V | double | Third matrix in decomposition |
ierr | int | |
리턴 | void |
public static Solve ( double A, double b, double x ) : void | ||
A | double | The Matrix A |
b | double | The vector B |
x | double | The vector x |
리턴 | void |