The paradigm behind Dynamic and related functionality
Bug with iterated With: Referring to function arguments invalidates previous definitions
How to quickly find all grid cells covered by a geometric region?
Cone Trees: map a graph onto geometric shape
Evaluate expressions within Vim
Non newtonian calculus
How could I perform Region or Polygon Clipping in mathematica?
The paradigm behind Dynamic and related functionality Dynamic and the related functionality strikes me as a very unique way to build quick and dirty personal GUIs which are great for experimentation. I suspect that this is only because of my lack of ...
- asked by Szabolcs (24 votes), answered by Leonid Shifrin (21 votes)
Bug with iterated With: Referring to function arguments invalidates previous definitions
G[x_] := With[{a = 0}, With[{b = x}, a]] G @ 0 F[x_] := With[{a = 0}, {b = x}, a] F @ 0 gives 0 a I would expect both to behave exactly the same. It seems that referring to the parameter ...
- asked by masterxilo (20 votes), answered by Kuba (20 votes)
How to quickly find all grid cells covered by a geometric region?
I'm trying to compute a complete set of unit grid cells ("pixels") which a geometric region covers at least partially. I have constructed a method that produces correct results: With[{reg = ...
- asked by kirma (14 votes), answered by george2079 (9 votes)
Cone Trees: map a graph onto geometric shape http://mathematica.stackexchange.com/questions/126657/cone-trees-map-a-graph-onto-geometric-shape
Question Is it possible to map a Graph onto a geometric object such as a Cone? Motivation Visualizing large trees can be tedious, especially when limited to the confines of the printed page. One ...
- asked by SumNeuron (13 votes), answered by Szabolcs (18 votes)
Evaluate expressions within Vim http://mathematica.stackexchange.com/questions/126449/evaluate-expressions-within-vim
I want to be able to type a quick Mathematica expression, such as 550/3. (e.g. common math), Sum[i, {i, 0, n}]//TeXForm//ToString (e.g. writing LaTeX document), or {55, 1, 10, 40, 9}//Total (e.g. ...
- asked by Andrew MacFie (11 votes), answered by Andrew MacFie (11 votes)
Non newtonian calculus http://mathematica.stackexchange.com/questions/126730/non-newtonian-calculus
I would like to define a new operator say $\text{stard}[f[x]] = \lim_{h\rightarrow 0}\left(\frac{f[x+h]}{f[x]}\right)^{\frac{1}{h}}$ I think it must be done with an upvalue but I do not know how to ...
- asked by cyrille.piatecki (10 votes), answered by Szabolcs (18 votes)
How could I perform Region or Polygon Clipping in mathematica? I need to clip several regions reg: like Rectangle, Polygon, Ellipse... My goal isn't to plot the clipping but to have a representation of each new region. I searched if there was any package or ...
- asked by A.M. (10 votes), answered by george2079 (4 votes)