47 views

### Printing data into a file inside the loop one by one [duplicate]

Suppose I have a simple loop dat=Table["i",{i,1,10}]; Now once the run is finished, I can store the data using ...
46 views

### Save the data in mathematica [duplicate]

I have been calculated some expansions with NIntegrate and NDSolve in Mathematica and I have a lot of them. Because the calculation of these results takes hours, I want to save it in a file of ...
43 views

### Saving remembered function when closing down notebook [duplicate]

I have functions defined to remember their values f[x_]:=f[x] I would like to be able to close a notebook without losing the computed values, what is the ...
40 views

### All definitions are cleared when I reopen my file [duplicate]

I just started getting into mathematica and have the problem that whenever I save and reopen my .nb file, all functions and variables are cleared and I need to shift+enter every cell again to continue ...
35 views

### Creating a library of saved function values [duplicate]

I have a command of the form J[b,c,n] which outputs a list of complex numbers, obtained by using FindRoot. Some outputs take ...
6k views

### Saving Mathematica kernel state?

If I save a notebook, I only save what I see. That is, if I close Mathematica and reopen the notebook later, all previous calculations are lost, except for those things I've output. Now I know that ...
282 views

### Saving memoization to disk

I like using memoization (i.e. the construct myFunction[x_]:=myFunction[x]=...) when I have a heavy function that I need to re-evaluate on the same arguments. ...
142 views

### How to implement a resumable Table?

Motivation (my sob stories) Too many times I've run a notebook for hours and then Mathematica crashes (FE or Kernel, mostly FE) and things are lost. I've made various attempts at custom solutions ...
132 views

### How to speed up the calculation of a multi-dimension matrix involving symbolic integral?

The following program succeeds in getting matrix CC, but it takes time badly, especially in the case varNumber becomes larger just as the following ...
I have a function of one variable $f(x): \mathbb{R}\to \mathbb{C}$ which is very difficult to evaluate. Single evaluations may take hours, and I need to use the function at a large variety of points. ...