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: % -> 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: Record(localSymbols: SymbolTable, code: List FortranCode) -> %
coerce(e)
takes the component ofe
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 ofv
.
- outputAsFortran: % -> Void