Signature (Visual Basic / VBA)
Public Function Conj( _
ByVal vX As Variant _
) As Variant
Code Example
Conj(3.7) = 3.7
Conj("3|7") = "3|-7"
Conj("3|-7") = "3|7"
Conj("-3|7") = "-3|-7"
Conj("-3|-7") = "-3|7"
IsNull(Conj(Null)) = True
Parameters
| Parameter | Description |
|---|---|
| vX | The number whose conjugate is to 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. |