Version

TryAverageIf(ComplexVector,ComparisonType,Complex,Complex,Exception) Method

Returns the average value of the elements of the ComplexVectorx which satisfy the condition specified by the ComparisonType as the result.
Syntax
'Declaration
 
Public Overloads Shared Function TryAverageIf( _
   ByVal x As ComplexVector, _
   ByVal op As ComparisonType, _
   ByVal c As Complex, _
   ByRef result As Complex, _
   ByRef exception As Exception _
) As Boolean
public static bool TryAverageIf( 
   ComplexVector x,
   ComparisonType op,
   Complex c,
   out Complex result,
   out Exception exception
)

Parameters

x
A ComplexVector.
op
A ComparisonType.
c
A Complex number.
result
The conditional average of x.
exception
The exception, if one should be thrown; Null otherwise.

Return Value

True if the computation is successful; False otherwise.
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