Tag Info

New answers tagged

0

In order to get an ini that will evaluate to a numerical value when evaluated as ini[x, y], one has to define it as ini[x_, y_] = 1 + c*BSplineFunction[RandomReal[1, {30, 30, 1}], SplineClosed -> True][x, y] It is important to use Set instead of SetDelayed in this case, as one doesn't want to use new random numbers every time ini is evaluated. With ...


8

To long for a comment: I think there are multiple typos (I hope) in docs for Get. This will work Get["Test`", Path -> {NotebookDirectory[]}] even without SetDirectory and this will work automatically too: SetDirectory @ NotebookDirectory[]; << Test` So the difference is in ` More accurate in description is tutorial/FilesForPackages ...



Top 50 recent answers are included