You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an example, with 32 variables in the template (Mathematica crashes in my machine with 16GB):
ExpandTemplate[With[{k = 2, r = 2.5}, ColorBlindTemplate[k, r]]]
In a case like this, the user should be warned and given the possibility of an iterative expansion, that would yield the results little by little on the Mathematica notebook, or directly into file.
The text was updated successfully, but these errors were encountered:
With[{k = 2, t = ColorBlindTemplate[2, 1.0]},
ExpandTemplate[t]]
This means the user can partition the range any way he wants and perform any kind of side effect (dump into a file, for instance) as needed for each partition.
What we could do to make this easier is expose a function that gives you the upper bound of the expansion range so the user won't have to calculate it.
This is certainly a good workaround, and we might be happy to stick to it for the moment.
But what I really had in mind is an iterative alternative, tha might allow the user to compute all expansions wanted, provided they would be willing to wait. This is what the IthTuple function in CAMaT allows; have a look.
Here's an example, with 32 variables in the template (Mathematica crashes in my machine with 16GB):
ExpandTemplate[With[{k = 2, r = 2.5}, ColorBlindTemplate[k, r]]]
In a case like this, the user should be warned and given the possibility of an iterative expansion, that would yield the results little by little on the Mathematica notebook, or directly into file.
The text was updated successfully, but these errors were encountered: