JLObjPy

jobject.spad line 938 [edit on github]

Convenience domain for Julia Python objects that are used within Julia, and not directly by the underlying FriCAS Common LISP. The PythonCall package has to be installed in Julia. Note that the PythonCall Julia package uses a similar scheme for Julia Python objects to the one of jlFriCAS for JLObjectType references.

=: (%, %) -> Boolean

from BasicType

~=: (%, %) -> Boolean

from BasicType

coerce: % -> JLObject

from JLObjectType

coerce: % -> OutputForm

from CoercibleTo OutputForm

coerce: Float -> %

coerce(f) coerces f to a Julia Python object.

coerce: Integer -> %

coerce(i) coerces the integer i to a Julia Python object.

coerce: String -> %

coerce(str) coerces the string str to a Julia Python string object.

convert: % -> String

from ConvertibleTo String

jlAbout: % -> Void

from JLObjectType

jlApply: (String, %) -> %

from JLObjectType

jlApply: (String, %, %) -> %

from JLObjectType

jlApply: (String, %, %, %) -> %

from JLObjectType

jlApply: (String, %, %, %, %) -> %

from JLObjectType

jlApply: (String, %, %, %, %, %) -> %

from JLObjectType

jlDisplay: % -> Void

from JLObjectType

jlDump: JLObject -> Void

from JLObjectType

jlId: % -> JLInt64

from JLObjectType

jlObject: () -> String

from JLObjectType

jlPyApply: (String, String, %) -> %

jlPyApply(mod, func, pyobj) applies the Python function func from the module mod to the Python object pyobj. For example: Numpy needs to be installed, see the Julia package CondaPkg. example{jlPyApply(“numpy”, “array”, jpyobj(“[1,2,3]”))} creates a numpy array from the Python list [1,2,3]. jlApply(“math”, “sqrt”, 2) computes the square root of 2.

jlPyApply: (String, String, %, %) -> %

jlPyApply(mod, func, pyobj1, pyobj2) applies the Python function func from the module mod to the Python objects pyobj1 and pyobj2

jlPyApply: (String, String, %, %, %) -> %

jlPyApply(mod, func, pyobj1, pyobj2, pyobj3) applies the Python function func from the module mod to the Python objects pyobj1, pyobj2 and pyobj3.

jlPyApply: (String, String, %, %, %, %) -> %

jlPyApply(mod, func, pyobj1, pyobj2, pyobj3, pyobj4) applies the Python function func from the module mod to the Python objects pyobj1, pyobj2, pyobj3 and pyobj4.

jlPyApply: (String, String, %, %, %, %, %) -> %

jlPyApply(mod, func, pyobj1, pyobj2, pyobj3, pyobj4, pyobj5) applies the Python function func from the module mod to the Python objects pyobj1, pyobj2, pyobj3, pyobj4 and pyobj5.

jlPyConvert: (%, String) -> JLObject

jlPyConvert(pyobj, type) converts the Python object pyobj to the Julia type ‘type’.

jlPyDocumentation: String -> Void

jlPyDocumentation(obj) displays the Python documentation for the Python object obj.

jlPyImport: String -> %

jlPyImport(mod) imports the Python module mod in the Julia Python environment.

jlRef: % -> SExpression

from JLObjectType

jlref: String -> %

from JLObjectType

jlType: % -> String

from JLObjectType

jpyobj: String -> %

jpyobj(str) coerces the string str to a Julia Python object. Use jlDisplay(pyobj) to display the Python object pyobj.

latex: % -> String

from SetCategory

mutable?: % -> Boolean

from JLObjectType

nothing?: % -> Boolean

from JLObjectType

string: % -> String

from JLType

BasicType

CoercibleTo OutputForm

ConvertibleTo String

JLObjectType

JLType

SetCategory