Complex Conversion (Double to Complex) |
Implicit conversion from double to complex number.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static implicit operator Complex (
double real
)
Public Shared Widening Operator CType (
real As Double
) As Complex
static implicit operator Complex (
double real
)
F# does not support the declaration of new casting operators.
Parameters
- real
- Type: SystemDouble
The real component of the complex number.
Return Value
Type:
ComplexA Complex type with the imaginary part defaulted to 0.
See Also