Gets or sets the weight function.

Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Property WeightFunction As BivariateRealFunction
C#
public BivariateRealFunction WeightFunction { get; set; }
C++
public:
BivariateRealFunction^ WeightFunction {
	BivariateRealFunction^ get ();
	void set (BivariateRealFunction^ value);
}

Remarks

The weight function specifies a function that computes the weight that is to be applied to each observation in terms of the x and/or y-value of that observation. The property is a BivariateRealFunction delegate. The first parameter corresponds to the x-value of the observation. The second parameter corresponds to the y-value of the observation.

You can specify the individual weights to arbitrary values by setting the WeightVector property.