|  | DoubleFairWeightingFunctionGetWeights Method | 
            Computes the fair weights for the residuals using the formula:
            w(r) = 1 / (1 + |r|).
            Here r is the adjusted redisuals from the AdjustedResidual
            function of the base class DoubleLeastSqWeightingFunction.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
 Syntax
Syntaxpublic override void GetWeights(
	DoubleVector residuals,
	ref DoubleVector weights
)
Public Overrides Sub GetWeights ( 
	residuals As DoubleVector,
	ByRef weights As DoubleVector
)
public:
virtual void GetWeights(
	DoubleVector^ residuals, 
	DoubleVector^% weights
) override
abstract GetWeights : 
        residuals : DoubleVector * 
        weights : DoubleVector byref -> unit 
override GetWeights : 
        residuals : DoubleVector * 
        weights : DoubleVector byref -> unit Parameters
- residuals  DoubleVector
- Residuals from the previous iteration in 
            an iteratively Reweighted least squares problem.
- weights  DoubleVector
- The weights. Note if the input weights
            vector is non-null and has the same length as the input
            residual vector its contents are overwritten by the new 
            weights. Otherwise a new vector containing the weights is returned.
Implements
IDoubleLeastSqWeightingFunctionGetWeights(DoubleVector, DoubleVector) See Also
See Also