Hi,
I am new to Fortran. I need to learn the language and write
efficient code for a project. Sometimes I see there are more than
one way to write the Fortran code and wonder if one is better than
another.
For example, is there a general guideline for using function and
subroutine. I heard a least in one case, when the return object is
an array, subroutine is more efficient because it doesn't generate an
extra copy of array. Are there any other concerns?
Thanks.
Richard
|