Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Btw, Fortran arrays start at 1 by default, but the lower bound can be specified by the user, for example

real :: x(-10:10)

is a real vector of 21 elements from -10 to 10.



interesting. I have so far only read some fortran code, never really dived into it in more detail.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: