Hello,
A question for committee members and others:
In Fortran 95 it is impossible to make a rank-2 array pointer to a
rank-1 array. I don't see a reason for such a restriction. I can see
that one can not always make a rank-1 array pointer to a rank-2 array if
the array is not contiguous, since it is not always possible to describe
these kinds of sections with simple lb:ub:stride-type array descriptors.
But it is always possible to make a higher-rank pointer to a lower-rank
array by simple setting the extra bounds and strides all to 1.
I am pretty sure the answer is that no one ever cared about such a
thing, but let me check anyway.
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
__________________________________
|