FortranVectorCategory

fortcat.spad line 101 [edit on github]

FortranVectorCategory provides support for producing Functions and Subroutines when the input to these is a FriCAS object of type Vector or in domains involving FortranCode.

coerce : FortranCode -> %

coerce(e) takes an object from FortranCode and uses it as the body of an ASP.

coerce : List(FortranCode) -> %

coerce(e) takes an object from List FortranCode and uses it as the body of an ASP.

coerce : Record(localSymbols : SymbolTable, code : List(FortranCode)) -> %

coerce(e) takes the component of e from List FortranCode and uses it as the body of the ASP, making the declarations in the SymbolTable component.

coerce : Vector(MachineFloat) -> %

coerce(v) produces an ASP which returns the value of v.

coerce : % -> OutputForm
from CoercibleTo(OutputForm)
outputAsFortran : % -> Void
from FortranProgramCategory

FortranProgramCategory

CoercibleTo(OutputForm)