Gets or sets the weight function.
Namespace: Extreme.Mathematics.Curves
Assembly: Extreme.Numerics (in Extreme.Numerics)
Version: 2.1.7017.0
Syntax
| Visual Basic (Declaration) |
|---|
Public Property WeightFunction As BivariateRealFunction |
| C# |
|---|
public BivariateRealFunction WeightFunction { get; set; } |
| Visual C++ |
|---|
public: property 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.