| DoubleLeastSqWeightingFunctionGetWeights Method |
Computes weights from residuals.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public abstract void GetWeights(
DoubleVector residuals,
ref DoubleVector weights
)
Public MustOverride Sub GetWeights (
residuals As DoubleVector,
ByRef weights As DoubleVector
)
public:
virtual void GetWeights(
DoubleVector^ residuals,
DoubleVector^% weights
) abstract
abstract GetWeights :
residuals : DoubleVector *
weights : DoubleVector byref -> unit
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