September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -12,7 +12,7 @@ program cdemo2
|
|||
abquot = a / b
|
||||
abpow = a ** b
|
||||
areal = real(a) ! Real part
|
||||
aimag = imag(a) ! Imaginary part
|
||||
aimag = imag(a) ! Imaginary part. Function imag(a) is possibly not recognised. Use aimag(a) if so.
|
||||
newc = cmplx(x,y) ! Creating a complex on the fly from two reals intrinsically
|
||||
! (initializer only works in declarations)
|
||||
newc = x + y*i ! Creating a complex on the fly from two reals arithmetically
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue