C# Класс MapAround.MathUtils.SvdDecomposer

Performs singular decomposition of matrix.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CalcDecomposition() публичный статический Метод

Calculates a singular value decomposition of the matrix.
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

Solve() публичный статический Метод

Solves a linear equations system (A * x = B).
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