complex (Opus Funktion)
Inhaltsverzeichnis
Beschreibung¶
Generiert aus den angegebenen Argumenten eine komplexe Zahl. Creates a complex number from its real and optional imaginary components, copies an existing complex, or parses a "(real,imag)" string. Arrays and matrices of any convertible element type are converted element-wise (imaginary part 0 for real sources).
Argumente¶
Name | Typ | Beschreibung |
|---|---|---|
RealPart | Realteil des complex Wertes | |
ImagPart | (optional) Imaginärteil des complex Wertes (nur bei float?) |
Rückgabewert complex¶
Umgewandelter Wert in complex
Beispiel¶
Resultat: (3,6) |
|---|