11,169 reputation
12153
bio website
location
age 28
visits member for 2 years, 3 months
seen 49 mins ago

Jan
24
comment Can my color function be written more simply?
@Mr.Wizard Feel free to add it here if you'd like.
Jan
24
comment Can my color function be written more simply?
@Mr.Wizard Indeed, you could do that, but strictly speaking it wouldn't be the same, since the current implementation allows you to change the colors at any point while the faster version would have you redefine the function to change colors. For a fun illustration of the difference, try using ColorFunction -> ((colors = RotateRight@colors; cf[##]) &). :)
Jan
24
revised Can my color function be written more simply?
added 19 characters in body
Jan
24
awarded  Nice Answer
Jan
24
answered Array of functions, evaluation in plot
Jan
24
answered How can we create Randolph diagrams in Mathematica?
Jan
23
answered Can my color function be written more simply?
Jan
23
comment How to start simulating physical problems?
I suggest starting by just coding a static visual on whatever you want to do, and then start from there. For instance, you could use VectorPlot to make a static plot of the gravitational field of the two starts you mention. Then upload your code along with a specific question of how to do one thing with it (for instance how to make the stars rotate or similar).
Jan
23
comment Assign the output of a loop
@Darwin I'm not sure what you mean with manually. Normally if you are doing something where you only care about the sowed elements, you use code//Reap//Last.
Jan
23
answered Assign the output of a loop
Jan
22
comment Thick polygons in Graphics3D
@Silvia The only reason it didnt' before was because Plot3D returns a result using GraphicsComplex, and because the polygons have normals. I've updated with a small change in the pattern so it'll ignore normal and a small example of how to use output form Plot3D.
Jan
22
revised Thick polygons in Graphics3D
added 551 characters in body
Jan
22
comment balanced Shortest[] and string-patterns
@andre I would expect it's a case of how the regular expression is implimented. To get some feeling for it here's a video of converting regular expressions into finite state automaton. The thing is that deteting when you reach a single token is different from keeping a seperate memory of which tokens you have been through and detecting whether they make up a specific series.
Jan
22
comment Rounding values
When you input a number like 0.1 Mathematica will carry out computation using a floating point approximation to the number, this is done in order to gain speed at the sacrifice of accuracy. If you desire exact numbers you can use rationals: 1-99/100-1/100 => 0. Or you can simply account for approximation errors as b.gate suggest
Jan
22
answered Thick polygons in Graphics3D
Jan
21
answered balanced Shortest[] and string-patterns
Jan
21
comment How can I connect Mathematica to Clojure?
@rcollyer You are hinting at the reverse situation (using Clojure code within Mathematica), and even then, using the front-end as a Clojure editor isn't actually the same as making either language features available under the other, that's really something altogether different.
Jan
21
comment How can I connect Mathematica to Clojure?
Depending on what you are trying to accomplish, you could just call Mathematica from Clojure like any other command line program
Jan
21
answered Nested Sums to multiple sum
Jan
21
comment Boundary Value Problem
You should provide your code in text form such that those who would want to help you don't have to manually copy down your code.