JuliaUtilityFunctionsΒΆ
jutils.spad line 1 [edit on github]
This package provides different Julia utility functions.
- jlDefined?: JuliaSymbol -> Boolean
jlDefined?(sym)
checks whether or notsym
is defined in Julia.
- jlEvalString: String -> Boolean
jlEvalString(str)
evaluatesstr
in Julia, where the output is a Boolean.
- jlEvalString: String -> Integer
jlEvalString(str)
evaluatesstr
in Julia, where the output is an Integer.
- jlEvalString: String -> JuliaFloat32
jlEvalString(str)
evaluatesstr
in Julia, where the output is aJuliaFloat32
.
- jlEvalString: String -> JuliaFloat64
jlEvalString(str)
evaluatesstr
in Julia, where the output is aJuliaFloat64
.
- jlEvalString: String -> JuliaInt64
jlEvalString(str)
evaluatesstr
in Julia, where the output is aJuliaInt64
.
- jlEvalString: String -> NonNegativeInteger
jlEvalString(str)
evaluatesstr
in Julia, where the output is an Non Negative Integer.
- jlEvalString: String -> PositiveInteger
jlEvalString(str)
evaluatesstr
in Julia, where the output is an Positive Integer.
- jlEvalString: String -> String
jlEvalString(str)
evaluatesstr
in Julia, where the output is a String.
- jlGCCollect: () -> Void
jlGCCollect()
forces a Julia garbage collector run.
- jlImport: String -> Boolean
jlImport(modpackfunc)
imports the module, package or functionmodpackfunc
and makes its exported name(s
) available. Returnsfalse
if it can not be imported.
- jlInclude: String -> Boolean
jlInclude(file.jl)
loads and evaluates the content of the Julia file file.jl
in the current global scope.
- jlInitialize: Boolean -> Boolean
jlInitialize(init)
initializes the Julia environment ifinit
istrue
, otherwise clears the Julia environment. Normally, it should not be used since it is automatically called.
- jlRandomString: PositiveInteger -> String
jlRandomString(n)
returns a random string ofn
characters.
- jlSeed!: JuliaInt64 -> Void
jlSeed!(n)
reseeds the Julia random number generator, if applicable.