59,707 reputation
790261
bio website
location Oregon, USA
age
visits member for 1 year, 4 months
seen 14 mins ago
stats profile views 4,595

(also known as Spartacus)

Project Euler


See those two pins? Well today I'm going to... stick them in you.

Ok, let me come clean: Mr.Wizard is actually an alias of mine... I'm glad I can finally confess. ― Sjoerd C. de Vries

No, I'm Spatac... I mean, Mr.Wizard! ― R.M

I'm Mr.W, and so's my wife! ― acl


@Spartacus, it was not fixable. ― rcollyer

check again; I just fixed it. :-p ― Spartacus


"This is the internet, where the men are men, the women are men and the children are FBI agents..." ― yoda Dec 18 '11 at 6:06


"My main purpose of being here is in collecting the votes. I'd even go further and say that this is my main purpose in life." ― Leonid Shifrin


"I am making some voodoo dance and invoking the rain God while we talk" ― belisarius


Some people are fortunate. Others get married. ― belisarius


It's not that easy to do the untangling even manually though. – Szabolcs

Maybe you could turn it into a puzzle and let other people do the untangling :-) – Heike

I could make a web based game, and feed all my graphs to the visitors.
SE is a big game, isn't it? :D – Szabolcs



May
16
comment How to enumerate multisets
@Artes a comment will suffice if you think this is a duplicate.
May
15
awarded  Good Answer
May
15
comment Apply a Function Pairwise
@chris the above is for you too.
May
15
comment Apply a Function Pairwise
@rcollyer I assume that PartitionMap is not implemented in terms of Map and Partition, at least not in their normal syntax and behavior. The latter will do the full partitioning first, then the mapping. PartitionMap does the mapping while the partitioning is done. For example, RandomChoice /@ Partition[Range@1*^6, 100, 1]; will use ~800MB of memory (peak), whereas PartitionMap[RandomChoice, Range@1*^6, 100, 1]; will use ~23MB.
May
15
reviewed Leave Open How do I operate on a set of ordered pairs? I want to square each inidividual element of an ordered pair and then add it
May
15
awarded  Nice Answer
May
15
comment Variable naming changes everything
@5xum An apparent bug indeed, and one that has persisted at least from version 7 through version 9. I'm surprised this hasn't been found and addressed in that time.
May
14
comment Variable naming changes everything
For what it's worth a lot of information is returned with Trace[. . ., TraceInternal -> True] for anyone who has the time and energy to dig through it.
May
14
answered Variable naming changes everything
May
14
revised Variable naming changes everything
edited tags
May
14
awarded  Good Answer
May
14
comment How to plot filling under a curve?
@Misery since you are determined to press on let me offer a suggestion: stop expecting Mathematica to do precisely what you describe and get used to using it interactively, observing the output and adjusting your code accordingly. There are many quirks and inconsistencies in the system as you are discovering to your frustration, but many of them are fixed simply and easily with the options provided. I get the sense that you are expecting to architect large chunks of code and have them behave precisely as you envision, without incremental testing; it often doesn't work out like that. HTH
May
14
comment Saddle Point in Matrix
Clever, and a nice use of my old friend "NonzeroPositions".
May
14
comment How to store a SparseArray?
You can use the methods described in answer to this question: mathematica.stackexchange.com/q/1959/121 In fact I am inclined to close this question as I believe it has already been answered.
May
14
comment How to plot filling under a curve?
@Misery perhaps you should find out if you can get your money back and stop using Mathematica at this point. It certainly sounds like that's what you want.
May
14
revised How to plot filling under a curve?
deleted 5 characters in body
May
14
comment How to plot filling under a curve?
@cormullion funny, because I thought it looked more like this, because after all you just get a blank white page to start with.
May
14
comment Saddle Point in Matrix
Sarath.S, welcome to Mathematica.StackExchange. Please provide more detail in your question; describe the output you expect and do not rely on us knowing, guessing, or looking up what you want.
May
14
revised How to plot filling under a curve?
edited body
May
14
answered How to plot filling under a curve?