Gets or sets the weight function.
Namespace:
Extreme.Mathematics.Curves
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Func<double, double, double> WeightFunction { get; set; }
Public Property WeightFunction As Func(Of Double, Double, Double)
Get
Set
public:
property Func<double, double, double>^ WeightFunction {
Func<double, double, double>^ get ();
void set (Func<double, double, double>^ value);
}
member WeightFunction : Func<float, float, float> with get, set
Property Value
Type:
FuncDouble,
Double,
Double
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 function of two variables 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.
Reference