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.LinearAlgebraAssembly: 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
)
Public Function COFSolve (
A As Matrix,
B As Matrix,
rcond As Double
) As Matrix
Request Example
View SourceParameters
- 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
MatrixA matrix containing the solution.
See Also