3 ms·
Fortran does have pointers, though. [1] Maybe they are just not common for most math operations on matrices? [1] http://www.personal.psu.edu/jhm/f90/lectures/4
by ironmagma 7y ago
Fortran does have pointers, though. [1] Maybe they are just not common for most math operations on matrices?
[1] http://www.personal.psu.edu/jhm/f90/lectures/42.html http://www.personal.psu.edu/jhm/f90/lectures/42.html
- angus-g 7y agoMultidimensional arrays are first-class in Fortran, so there's no need to use pointers there. There are some rules around pointers and subarrays that I expect make any possible aliasing undefined behaviour.
- colechristensen 7y agoIt has things called pointers, but they are significantly different than pointers in C. They can't return memory addresses and so there's no pointer arithmetic or other difficult to optimize actions. And after writing a significant amount of fortran 90 code I didn't even know the feature existed...