Fortran Complex Exponential

dimanche 19 avril 2015

Hi, so I need to write a fortran code with 2, 2x2 matrices.



These matrices are in the form of B=(1 exp(i)(theta) 0 0) and D=(0 0 exp(i)(theta) 1) where i is sqrt of -1 and theta is an angle between 0 and 2pi.



I've expanded the exponential so it reads cos(theta)+isin(theta) and let theta=pi/2...



Fortran Complex Exponential





Fortran Complex Exponential

0 commentaires:

Enregistrer un commentaire