JuliaObjectType¶
jobject.spad line 1 [edit on github]
Category for arbitrary Julia objects, more precisely objects that are used within Julia.
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- convert: % -> String
from ConvertibleTo String
- jlAbout: % -> Void
jlAbout(obj)
displays Julia informations aboutobj
if you have About.jl
installed in Julia. In the Julia interpreter enter in the package management mode with ‘]’ and issue: pkg> add “https://github.com/tecosaur/About.jl"
- jlApply: (String, %) -> %
jlApply(func, obj)
executes the functionfunc
with obj as parameter and returns the result as a FriCAS JuliaObjectType.
- jlApply: (String, %, %) -> %
jlApply(func, obj1, obj2)
executes the functionfunc
withobj1
andobj2
as parameters and returns the result as a FriCAS JuliaObjectType. For example, using JuliaObject: example{M:=nrand(4,4);jlApply(“getproperty”,} indented{1}{jlApply(“svd”, M::JOBJECT), jsym"S"
)} should be “equivalent” to svdvals(M
)
- jlApply: (String, %, %, %) -> %
jlApply(func, obj1, obj2, obj3)
executes the functionfunc
withobj1
,obj2
andobj3
as parameters and returns the result as a FriCAS JuliaObjectType.
- jlApply: (String, %, %, %, %) -> %
jlApply(func, obj1, obj2, obj3, obj4)
executes the functionfunc
withobj1
,obj2
,obj3
andobj4
as parameters and returns the result as a FriCAS JuliaObjectType.
- jlApply: (String, %, %, %, %, %) -> %
jlApply(func, obj1, obj2, obj3, obj4, obj5)
executes the functionfunc
withobj1
,obj2
,obj3
,obj4
andobj5
as parameters and returns the result as a FriCAS JuliaObjectType.
- jlApply: (String, %, %, %, %, %, %) -> %
jlApply(func, obj1, obj2, obj3, obj4, obj5, obj6)
executes the functionfunc
withobj1
,obj2
,obj3
,obj4
,obj5
andobj6
as parameters and returns the result as a FriCAS JuliaObjectType.
- jlId: % -> String
jlId(obj)
returns the Julia indexed dictionary index related to the objectobj
.
- jlRef: % -> SExpression
jlRef(obj)
returns the pretty printed internal Lisp representation of the Julia objectobj
.
- jlref: String -> %
jlref(str)
evaluates the Julia commandstr
and returns the corresponding FriCAS Julia object.
- jlType: % -> String
jlType(obj)
return the Julia type ofobj
.
- latex: % -> String
from SetCategory
- mutable?: % -> Boolean
mutable?(obj)
checks wheter or notobj
is mutable.
- nothing?: % -> Boolean
nothing?(obj)
checks whether or notobj
is nothing.
- string: % -> String
string(obj)
returns the Julia corresponding value of the objectobj
as a string. Convenience function.