Click or drag to resize

DoubleLeastSqWeightingFunctionGetWeights Method

Computes weights from residuals.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public abstract void GetWeights(
	DoubleVector residuals,
	ref DoubleVector weights
)

Parameters

residuals  DoubleVector
The residuals from the least squares problem Ax = b. If the least squares solution is y, then the residuals, r, are: Ay - b, or b - Ay
weights  DoubleVector
Computed weights.

Implements

IDoubleLeastSqWeightingFunctionGetWeights(DoubleVector, DoubleVector)
See Also