Hello,
I am interested in experiences about typical compiler handling of
something like:
REAL, DIMENSION(3,3) :: A, B, C ! Dimension is known and small, 2 or 3 or 4
C=MATMUL(A,B)
or something more complex like:
C=MATMUL(A,MATMUL(B,TRANSPOSE(A)))
Can I expect the compiler to inline these for small matrices or do some
other optimization, or should I write my own macros to do the job?
Thanks,
Aleksandar
--
__________________________________
Aleksandar Donev
Complex Materials Theory Group (http://cherrypit.princeton.edu/)
Princeton Materials Institute & Program in Applied and Computational Mathematics
@ Princeton University
Address:
419 Bowen Hall, 70 Prospect Avenue
Princeton University
Princeton, NJ 08540-5211
E-mail: [log in to unmask]
WWW: http://atom.princeton.edu/donev
Phone: (609) 258-2775
Fax: (609) 258-6878
__________________________________
|