LinearLeastSquaresSVDdcSolve(Matrix, Matrix, Double) Method |
Computes the minimum-norm solution to a real linear least squares problem: minimize 2-norm(|| A*X - B||)
using the singular value decomposition (SVD) 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 SVDdcSolve(
Matrix A,
Matrix B,
double rcond
)
Public Function SVDdcSolve (
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
-
rcond is used to determine the effective rank of A.
Singular values S(i) .LE. rcond*S(1) are treated as zero.
Return Value
MatrixA matrix containing the solution.
See Also