1、FORTRAN里如果如下定义数组表示的是什么含义?数组的维数是多少?
real datar(*)
2、FORALL语句是否能用于F90?
datar(*)是个assumed-size数组,其大小由函数调用时的实参决定。
FORALL is a feature of Fortran 95.
---Intel Fortran Compiler Manual,Language Reference
尽管很多编译器名字叫f90,但实际上执行的是Fortran 95标准,比如MIPSpro Fortran 90 Compiler:
The compiler was developed to support the Fortran standard ... commonly referred to in this manual as the Fortran standard, is ISO/IEC 1539–1:1997. ...Note: The Fortran 95 standard is a revision to the Fortran 90 standard.
---MIPSpro Fortran Language Reference Manual
datar(*)是个assumed-size
datar(*)是个assumed-size数组,其大小由函数调用时的实参决定。
FORALL is a feature of Fortran 95.
---Intel Fortran Compiler Manual,Language Reference
尽管很多编译器名字叫f90,但实际上执行的是Fortran 95标准,比如MIPSpro Fortran 90 Compiler:
The compiler was developed to support the Fortran standard ... commonly referred to in this manual as the Fortran standard, is ISO/IEC 1539–1:1997. ...
Note: The Fortran 95 standard is a revision to the Fortran 90 standard.
---MIPSpro Fortran Language Reference Manual