Version

AverageIf(Vector,ComparisonType,Double) Method

Returns the average value of the elements of the Vectorx which satisfy the condition specified by the ComparisonType.
Syntax
'Declaration
 
Public Overloads Shared Function AverageIf( _
   ByVal x As Vector, _
   ByVal op As ComparisonType, _
   ByVal c As Double _
) As Double
public static double AverageIf( 
   Vector x,
   ComparisonType op,
   double c
)

Parameters

x
A Vector.
op
A ComparisonType.
c
A double.

Return Value

The conditional average of x.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also