02.05.2014 Views

Patrick Corde & Anne Fouilloux

Patrick Corde & Anne Fouilloux

Patrick Corde & Anne Fouilloux

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Instruction EQUIVALENCE 51<br />

Exemple-1<br />

PROGRAM correspondance<br />

COMPLEX cmplx(2)<br />

REAL<br />

temp(4)<br />

EQUIVALENCE (temp(1), cmplx(1))<br />

...<br />

END PROGRAM correspondance<br />

On a alors en mémoire :<br />

|--------cmplx(1)-------|--------cmplx(2)-------|<br />

|-----------|-----------|-----------|-----------|<br />

|--temp(1)--|--temp(2)--|--temp(3)--|--temp(4)--|<br />

INSTITUT DU DÉVELOPPEMENT<br />

ET DES RESSOURCES<br />

EN INFORMATIQUE SCIENTIFIQUE<br />

Cours langage Fortran – 27 janvier 2006<br />

<strong>Patrick</strong> <strong>Corde</strong> et <strong>Anne</strong> <strong>Fouilloux</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!