Rhetos
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 9 Ω


Fortran90 complex


Programmieren


Basiswissen


Dieser Programmierbefehl Funktion interpretiert Variablen als Real- und Imaginärteil. Das ist hier kurz mit einem Beispiel erklärt.

Wozu ist der Befehl nötig?



Beispielprogramm für Konstanten


program constant
complex :: z
z = (2,4)
write (*,*) z
end program constant

Beispielprogramm für Variablen


program variable
complex :: z
z = complex(a,b)
write (*,*) z
end program variable