64,313 reputation
5157367
bio website szhorvat.net/pelican/pages/…
location ND
age
visits member for 3 years
seen 5 hours ago

contact details

Please do not write me with Q/A related questions. Post them on the site instead!

Visit Mathematica.SE


Jan
19
comment Question about degenerate functions in Mathematica 10
You can still use Combinatorica, here's an example: mathematica.stackexchange.com/a/21748/12 Keep in mind that Combinatorica can't handle System`Graph objects. It uses a different graph format which you need to convert to/from.
Jan
19
comment Initiating another Kernel?
@Anoldmaninthesea. It took me some time before I could test this, but it appears that on Windows it is possible to launch multiple instances of Mathematica without needing to do anything special. Whenever I needed to run a long calculation, I did it in a completely separate instance for additional safety (protection against crashes or my own mistakes).
Jan
19
comment What bug fixes can be implemented in init.m?
It would probably be good to include a version check before applying any fixes.
Jan
19
comment Is there a built-in function to do binary search?
This might be relevant. See also Mr. W's answer there.
Jan
19
revised Differential equation with a Heavisidetheta function running for ever
added 14 characters in body; edited tags
Jan
18
comment How many CPUs does gridMathematica support?
You should contact Wolfram Research directly with this question. I strongly suspect the answer depends on the particular license you get and it's something you can negotiate with them.
Jan
18
comment Using DiscretePlot to graph the Riemann sum of a parabola
Sure, but you need to be very specific with your questions. In your original question you seem to be asking about how to make it green, but it turns out you already know how to do this. Then in a comment you ask a completely different question about changing the domain and the borders. Can you edit your question, show what you have so far, and explain precisely what is missing?
Jan
18
comment Using DiscretePlot to graph the Riemann sum of a parabola
If you check the examples on the documentation page of DiscretePlot, you'll find lots and lots which change the styling. Have you looked at these?
Jan
18
comment ListPlot3D not plotting correctly
You're missing lots of commas. Make sure the data is typed in correctly. For example, the last two entries, {200, 0.14, 150000} {200, 0.15, 150000}, will immediately evaluate to {40000, 0.021, 22500000000} as the space acts as multiplication.
Jan
17
awarded  Yearling
Jan
17
comment Initiating another Kernel?
It might be a better solution to start a separate front end as well, for added safety: if your front end crashes, it will also take down all the kernels attached to it. If you accidentally close the front end, it's the same. I believe it should be possible to start multiple front ends, but the method should depend on your operating system. Which OS are you using?
Jan
17
comment Can Trace[] output during evaluation (and not only after)?
TracePrint will do this.
Jan
16
awarded  Nice Question
Jan
16
awarded  Nice Answer
Jan
16
comment “Meta-matching” patterns
Verbatim and PatternHold are useful.
Jan
15
comment Instant kernel crash when using `+=` on `SparseArray` with repeated entries
Reproduced with 10.0.2 on OS X.
Jan
15
revised Instant kernel crash when using `+=` on `SparseArray` with repeated entries
edited tags
Jan
14
comment Manipulate: Play the animation only once and stop
Use Animate with AnimationRepetitions -> 1.
Jan
14
comment All binary sequences with length n
@DumpsterDoofus Nothing. It's not executable code, I meant that one might want to put other things in the Do loop.
Jan
14
comment How to implement the directed Barabasi-Albert algorithm in Mathematica?
What do you mean by "Barabási-Albert algorithm"? Do you mean preferential attachment? Are you aware of BarabasiAlbertGraphDistribution? RandomGraph@BarabasiAlbertGraphDistribution[100000, 1] takes no perceptible time.