Reputation
7,617
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
15 50
Newest
 Yearling
Impact
~73k people reached

Jul
4
comment Finding corresponding vertex from 3d to 2d
@Aky Good point. Makes it look a bit nicer.
Jul
2
comment Difference (or intersection) of two convex polyhedra
I haven't looked at it myself, but there is some stuff here.
Jun
16
comment Smooth Peter de Jong attractor
Here's an animation where $a_1 \in [-2,2]$.
Jun
16
comment Is this the expected behaviour from Partition when padding is inserted at the start of the list?
myPartition[d_, k_] := Partition[d, k, k, -Mod[Length@d, k], {}]
Jun
4
comment Complement of multisets
I tend to use rules quite a lot because I think it is very clear what they do (although I admit the answer here is quite obfuscated). And yes, the performance does degrade with larger lists. But we don't want to prematurely optimise.
May
26
comment Plotting John Conway's Hecatohedron
This?
May
20
comment Finding the intersection of curves in a one-parameter family
NSolve[f[0] && f[2]]?
May
8
comment Strange opacity behavior
This is an awful lot of code and pictures for people to process. I recommend creating a minimal working example which has the problem. This will encourage more answers, and in the process you can often discover the solution yourself.
May
8
comment Specify the color of a horizontal grid line in a plot
GridLines -> {{}, {{Exp[EulerGamma], Red}}}
May
8
comment How do I make the color of arrowheads in a graph different from the colors of the arrows?
Not easily as far as I can tell. It's just using the points that it gets passed. I'm not sure what the default EdgeShapeFunctions do to it.
May
7
comment How do I make the color of arrowheads in a graph different from the colors of the arrows?
Take a look at EdgeShapeFunction.
May
1
comment Manipulate for variable number of sliders
@denfromufa I'm not sure what you mean by that. Can you explain further?
Apr
30
comment What's going wrong with this button!
Dynamic@weights?
Apr
29
comment Mean Squared Deviation for Population Data
You are taking the n+1'th part. So when n == 14, you are trying to take the 15th part. But your list is not that long. Perhaps you need a strictly less than in your While condition?
Feb
18
comment invert system of two parametric ODEs and plot results of do-loop
Your Do loops as written have several missing brackets and incorrect capitalisation (Nsolve instead of NSolve). What's the numerical value for zf? NSolve gives a rule as a result, not a value which you can directly compare. Maybe you want Sow and Reap rather than Print.
Feb
12
comment Problem With 3D Contour Plot
What's wrong with that result? What were you expecting?
Feb
10
comment How can I improve Do loop?
DayName is (still) rather slow. See here for a discussion. (Used to be called DayOfWeek before version 9).
Jan
23
comment Reading binary strings from file as strings
@Ajasja It's because it's simple. Easy to understand the problem and easy to understand the answer. The other question/answer is big and intimidating.
Jan
16
comment How to get a rule for, e.g., (x + y) to apply to (-x - y), etc.?
Use FullForm[x + y] and FullForm[-x - y] to see how those two expressions are different (or TreeForm if you are feeling daring). ReplaceAll is a dumb function that is not going to transform your expression for you. It may not be friendly, but it is reliable. In general, as Kuba has suggested, it's better to replace atomic elements.
Dec
10
comment calculating a sequence of functions using iteration
Actually I'm not sure how one would effectively memoise this. How do you cope with the conditions on the argument that isn't memoised?