Fortran type function 225664-Fortran type function
Just like Fortran 77, the language Fortran 90 allows for two types of subprograms (1) Functions, and (2) Subroutines In general, there are two forms of subprograms (1) Internal, and (2) External Internal subprograms are those routines that may appear within the main program by making use of the CONTAINS statementThe two functions MAX and MIN are unique in that they may have an arbitrary number of arguments, but at least two The arguments have to be of the same type, but are not permitted to be of type COMPLEX 3 Mathematical functions Same as in Fortran 77 All trigonometric functions work in radiansFortran 90 has the generic conversion functions INT (x,kind), REAL (x,kind) with the kind arguments being optional If kind is ommitted, conversion is done to default kind Arguments x may be of any numerical type and kind and may be scalars or arrays Latter ones are converted to arrays shaped like x Ppt Introduction To Fortran Powerpoint Presentation Free Download Id Fortran type function ...
