FortranMatrixCategoryΒΆ

fortcat.spad line 60 [edit on github]

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

coerce: % -> OutputForm

from CoercibleTo OutputForm

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: Matrix MachineFloat -> %

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

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.

outputAsFortran: % -> Void

from FortranProgramCategory

CoercibleTo OutputForm

FortranProgramCategory