Version

Max(Complex,Complex) Method

Compares x1 to x2 and returns the largest one.
Syntax
'Declaration
 
Public Overloads Shared Function Max( _
   ByVal x1 As Complex, _
   ByVal x2 As Complex _
) As Complex
public static Complex Max( 
   Complex x1,
   Complex x2
)

Parameters

x1
The first Complex number.
x2
The second Complex number.

Return Value

x1 if the real part of x1 is greater than the real part of x2. x2 if the real part of x2 is greater than the real part of x1. x1 if x1 and x2 have the same real part, and the imaginary part of x1 is greater than the imaginary part of x2. x2 otherwise.
Remarks
Complex numbers have no intrinsic ordering. Therefore the Max function is not unique.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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