Click or drag to resize
DigitalRuneQRDecompositionDSolveLinearEquations Method
Returns the least squares solution for the equation A * X = B.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public MatrixD SolveLinearEquations(
	MatrixD matrixB
)

Parameters

matrixB
Type: DigitalRune.Mathematics.AlgebraMatrixD
The matrix B with as many rows as A and any number of columns.

Return Value

Type: MatrixD
X with the least squares solution.
Exceptions
ExceptionCondition
ArgumentNullExceptionmatrixB is .
ArgumentException The number of rows does not match.
MathematicsException The matrix A does not have full rank.
See Also