[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Constructor requires the name of the field to use in the parent view to compute the weighted average on, as well as the name of the field in the parent view to get the weight from.

Namespace: net.esper.view.stat
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	fieldNameX As String, _
	fieldNameWeight As String _
)
C#
public WeightedAverageView (
	string fieldNameX,
	string fieldNameWeight
)
Visual C++
public:
WeightedAverageView (
	String^ fieldNameX, 
	String^ fieldNameWeight
)

Parameters

fieldNameX
System.String
is the name of the field within the parent view to use to get numeric data points for this view to compute the average for.
fieldNameWeight
System.String
is the field name for the weight to apply to each data point