Questions tagged [localsymbol]
For questions related to the V10.2+ functionality LocalObject and V11.1+ PersistentObject.
11
questions
5
votes
2
answers
229
views
Local symbols and variables in Module
Is it allowed to define local functions inside the Module in Mathematica? For example, out of the two codes below which one is correct?
First:
...
3
votes
0
answers
261
views
ResourceFunction cannot find cached local version
When I try to use ResourceFunction it doesn't find a file. I'm afraid it's because my user name on Windows include spaces and an "é".
...
1
vote
0
answers
85
views
Recursiveness in backtracking algorithm
In order to familiarise with using basic algorithms in Mathematica, I am coding a sudoku solver using a backtracking algorithm. I am treating the sudoku itself as an association (I want to learn to ...
1
vote
1
answer
49
views
Why is LocalSymbol treated differently inside a Module scope?
Wanting to persist credentials entered via a dialog. While doing so I wanted to scope them by prepending a type to the symbol name. Came across this behavior which I find odd:
...
3
votes
1
answer
73
views
Generating Manipulate Controls for Indexed Variables
I would like to know a method to share variables between Manipulate environments. I understand that the variables used in controllers are a kind of local ones and ...
12
votes
1
answer
157
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 ...
2
votes
1
answer
48
views
Why is the variable x not locally scope in the StringExpression?
Clear[x]
StringCases["abcadcacb","a"~~x_~~"c"->x]
{b,d}
...
3
votes
2
answers
317
views
Alternative to Dump Save
When dealing with large matrices I like to store them in the memory once for all, such that when I restart Mathematica I do not have to wait for a very long computational time of order of minutes.
To ...
3
votes
0
answers
46
views
LocalSymbol remains unevaluated in autoload package?
I am using LocalSymbol to store some database credentials. I put a statement like this in a user-level autoload package:
...
0
votes
0
answers
69
views
4
votes
2
answers
110
views
List all LocalSymbols
I was working with a LocalSymbol, but after I deleted the cell I came back to the notebook hours later only to forget the name of the variable!
Is there anyway to see a full list of the named ...