New answers tagged

3

OP wrote: I want to be able to simply call Needs["Test`"] and have functions such as Test`f available for use inside ParallelTable without any further calling of $DistributedContexts or DistributeDefinitions We had a similar problem designing mathStatica functions to operate in a parallel environment. There can be varying degrees of complexity. For ...


3

Shortly: Here what is going on, aTestFunction was created in aPackage` context, then you've removed it and since the current context is aPackage`Private` the definition of your function is created there. More precisely: New symbols are created in current $Context during read time, (1) the existance of aTestFunction between BeginPackage and Begin lines ...



Top 50 recent answers are included