Click or drag to resize

LinearLeastSquaresCOFSolve(Matrix, Matrix, Double) Method

Computes the minimum-norm solution to a real linear least squares problem: minimize 2-norm(|| A*X - B||) using a complete orthogonal factorization of A. The matrix A can be rank-deficient.

Namespace: DotNumerics.LinearAlgebra
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Matrix COFSolve(
	Matrix A,
	Matrix B,
	double rcond
)
Request Example View Source

Parameters

A  Matrix
The A matrix.
B  Matrix
The matrix containing the right-hand side of the linear system.
rcond  Double
The parameter rcond is used to determine the effective rank of A, which is defined as the order of the largest leading triangular submatrix R11 in the QR factorization with pivoting of A, whose estimated condition number .LT. 1/rcond.

Return Value

Matrix
A matrix containing the solution.
See Also