SimpleFortranProgram(R, FS)ΒΆ

fortran.spad line 1193 [edit on github]

SimpleFortranProgram provides a simple model of some FORTRAN subprograms, making it possible to coerce objects of various domains into a FORTRAN subprogram called f. These can then be translated into legal FORTRAN code.

coerce: % -> OutputForm

from CoercibleTo OutputForm

fortran: (Symbol, FortranScalarType, FS) -> %

fortran(fname, ftype, body) builds an object of type FortranProgramCategory. The three arguments specify the name, the type and the body of the program.

outputAsFortran: % -> Void

from FortranProgramCategory

CoercibleTo OutputForm