C# Класс Encog.MathUtil.Matrices.Decomposition.QRDecomposition

QR Decomposition. For an m-by-n matrix A with m >= n, the QR decomposition is an m-by-n orthogonal matrix Q and an n-by-n upper triangular matrix R so that A = Q*R. The QR decompostion always exists, even if the matrix does not have full rank, so the constructor will never fail. The primary use of the QR decomposition is in the least squares solution of nonsquare systems of simultaneous linear equations. This will fail if isFullRank() returns false. This file based on a class from the public domain JAMA package. http://math.nist.gov/javanumerics/jama/
Показать файл Открыть проект

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

Метод Описание
IsFullRank ( ) : bool

Is the matrix full rank?

QRDecomposition ( Matrix A )

QR Decomposition, computed by Householder reflections.

Solve ( Matrix B ) : Matrix

Least squares solution of A*X = B

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

IsFullRank() публичный Метод

Is the matrix full rank?
public IsFullRank ( ) : bool
Результат bool

QRDecomposition() публичный Метод

QR Decomposition, computed by Householder reflections.
public QRDecomposition ( Matrix A )
A Matrix Structure to access R and the Householder vectors and compute Q.

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

Least squares solution of A*X = B
public Solve ( Matrix B ) : Matrix
B Matrix A Matrix with as many rows as A and any number of columns.
Результат Matrix