jInv.Utils

The Utils submodule provides some basic utility functions used in many parts of jInv. For example, it provides derivative testing and methods for clearing variables.

List of methods

# jInv.Utils.initRemoteChannelMethod.

function ref = initRemoteChannel(f,pid,args...)

Runs the function f with arguments args on worker

input: func::Union{Function,Type} – function or type constructor pid::Int64 – worker that will run f and store result args::varargs – Arguments of f. These must be available on worker pid

output: ref::RemoteChannel – Reusable reference to output of f.

source