# Tag Info

5

After a bit of consideration I recommend that you use ParallelSubmit and related functionality, e.g. WaitAll. Please consider this example: job = Array[ParallelSubmit[Pause[1]; If[Random[] > 0.7, Quit[]]; Print[#]] &, 10] This creates a series EvaluationObject tasks to perform. Within each is a 30% chance of failure simulated by If[Random[] ...

7

The crash may be avoided by turning off the Suggestions Bar. The reason is that one of the computations attempted by the predictive interface in the background, namely Solve[(0.000092742725 - 0.000015933052*I)* E^((0. + 3.1934271000000003*^-10*I)*t) - (0.0000981431 + 0.0001437239*I)* E^((0. + 1.4229429000000001*^-9*I)*t) + (0.0057300369 - ...

3

Just sample your function over a 2D window with a Table. f[x_,y_]:= 1-2*Sinc[2(x^2 + y^2)] step = .2; kern = Table[f[x,y], {x, -3, 3, step}, {y, -3, 3, step}]; The dimensions of the kernel can be returned with Dimensions[kern]. Experiment with values of step and window sizes. Now just do an ImageConvolve[img,kern] and optionally use ImageAdjust to ...

15

This can be relatively easily done using extremely useful $FrontEnd option "ClearEvaluationQueueOnKernelQuit" introduced by Chris Degnen. Usage Print @$SessionID quitAndEvaluate[ Print @ \$SessionID ] 25183094379509806957 25183094575602627552 quitAndEvaluate[] will restart kernel without aby additional tasks. It may be useful if you want ...

Top 50 recent answers are included