Questions about how Mathematica evaluates expressions, tracing evaluation (Trace*), handling expressions in unevaluated form (Hold*, Unevaluated), nonstandard evaluation, etc.
0
votes
3answers
40 views
Evaluation in Manipulate
I have an expression assigned to a variable. For example:
exp1 = a*x+b
Now I would like to plot it using something like this
...
3
votes
1answer
84 views
Manipulate a Plot that contains a variable that contains symbol
This snippet
mm = m
Manipulate[{mm, Plot[mm x, {x, 0, 1}]}, {m, 0, 1}]
(m is not defined anywhere) produces a sadly fixed ...
2
votes
1answer
224 views
GraphPlot only working when I evaluate twice
I have some code that builds a graph and some vertex coordinates, but when I evaluate it I get a message that the list of coordinates is not valid and the graph is not valid and it shows the output as ...
6
votes
0answers
69 views
Return partial result when MemoryConstrained aborts NDSolve
I use NDSolve to solve a large set (~400) of coupled ODEs. Sometimes, the memory (~4GB) gets filled up, and my computer becomes impossible to work with, because it ...
4
votes
0answers
45 views
Problem with inequality using refine
I am using inequalities to follow some line of reasoning in Mathematica and I came across a problem I can not explain to myself. Does from a>=0 and b>=0 not follow a+b >= 0? How does Mathematica ...
3
votes
0answers
177 views
A is fast, B is fast, but together they're Mathematica-crashing slow?
I'm trying to do something with finding solutions to a quantum mechanics problem with n wells. If there are 40 wells, I need to find the solution to an equation in the form:
...
2
votes
0answers
88 views
Strange double evaluation using MorphologicalGraph
(MMA 9.0.0 on Mac OS/X 10.8)
Please consider the following snippet (this is as SMALL as I could make it -- my attempts at making a smaller repro-case eliminated the effect that I am investigating)
...
1
vote
0answers
67 views
Context “Unique to This Notebook” makes variables black even if they're not defined?
I'm trying to use this technique to keep variables separated between different notebooks. It seems to be working fine, except that variables turn black as soon as they are evaluated — any ideas why ...
0
votes
0answers
89 views
Do Import and Get work asynchronously? Can I prevent this?
I'm getting strange behavior in some of my notebooks that makes it seem like Import and Get load asynchronously. When I evaluate ...