Version

SumIf(Vector,ComparisonType,Double) Method

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

Parameters

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

Return Value

The conditional sum 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