<-- Previous || Up || Next -->

Max 3 Complex Function
Math Complex Class

Public Function Max3Complex( _
      ByVal vX As Variant _
    , ByVal vY As Variant _
    , ByVal vZ As Variant _
    ) As Variant

"Maximum Of Three Numbers"
Maximum of three Real and/or Complex numbers.
Returns the leftmost of the maximum arguments if all arguments are real numbers.

Examples:
    Max3Complex(2, 3, 4) = 4
    Max3Complex(2, "3.4|4.5", 5) = "6.15354022978078|1.125"
    Max3Complex("4.6|3.2", "3.4|4.5", "4.7|3") = "5.22720134109756|3.425"
See also:
    Max3Variant Function
    Max2Complex Function
    Min3Complex Function
Note: This function supports three-valued logic, but it does not support string arguments.

vX: First of three numeric arguments, the maximum of which will be returned. Function returns Null if vX is Null or cannot be fixed up to a real or complex number (as defined by the ComplexStringToReals function). Complex numbers are represented within strings as "R|I" where R is the real part and I is the imaginary part.

vY: Second of three numeric arguments, the maximum of which will be returned. Function returns Null if vY is Null or cannot be fixed up to a real or complex number.

vZ: Third of three numeric arguments, the maximum of which will be returned. Function returns Null if vY is Null or cannot be fixed up to a real or complex number.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.