91,546 reputation
15157392
bio website
location Oregon, USA
age
visits member for 2 years, 3 months
seen 12 secs ago

Happy New Year!


(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


"ListContourPlot crush on simple 5-points data" (Question title)

"Yes, this must be love at first sight."ruebenko


... but I am working with a large body of code written by an incompetent fool (i.e. myself, several years ago...) – Simon Woods


I was tempted to edit your title: "Do rules rule?" But my nose is still bleeding as a result of a limerick. – belisarius



Apr
16
comment How to get mathematica to simplify a result
In version 7 FullSimplify[PolyLog[2, 3 - 2 Sqrt[2]] - 4 PolyLog[2, -1 + Sqrt[2]]] outputs -(Pi^2/4) + Log[1 + Sqrt[2]]^2, which is I believe what you want. Which version are you using?
Apr
16
revised Scan vs Map vs Apply
added 20 characters in body
Apr
16
comment Undocumented form for Extract
Sorry, I missed your comment until after you posted this. This structure is OK, but personally I would have used something like: "Is it possible to use Span in Extract?" -- "Yes, since at least v9 there is an undocumented syntax for this, and it performs very well..." You can rewrite your Q&A like that if you wish, or leave it as it is; either way it gets the information out to people. +1 :-)
Apr
16
comment A problem with functions and Infinite expression 1/0 encountering
Also, FYI: CosInt * BoxMatrix[0, 6] // MatrixForm
Apr
16
comment A problem with functions and Infinite expression 1/0 encountering
Related, I believe: What is the cleanest way to prevent divide-by-zero warnings?
Apr
16
revised A problem with set values
added 673 characters in body
Apr
16
comment How to get mathematica to simplify a result
Okay. Please include Mathematica code also for your "equivalent" expression so that there is no more miscommunication.
Apr
16
answered A problem with set values
Apr
16
comment Map structure of irregular list, Flatten then reconstruct list using structure
Interesting; in version 7 I just get Extract::argtu: Extract called with 1 argument; 2 or 3 arguments are expected. >> and the expression unevaluated. I suspect they are extending Extract but for some reason the functionality wasn't finalized. MapAt was silently extended to work with Span as well. You should post a self-Q&A about this behavior in my opinion. I bet it will get a lot of votes.
Apr
16
revised How to apply function f for each time value t, to each pixel from image, resulting in t images
edited tags
Apr
16
comment Map structure of irregular list, Flatten then reconstruct list using structure
Please tell me about this Extract behavior. I hope you will make use of my dynamicPartition function; I put some thought into its construction, e.g. partitioning non-List expressions, and I find it quite useful myself. And please let me know if you can improve it!
Apr
16
comment Map structure of irregular list, Flatten then reconstruct list using structure
Would you please give an example of the type of operation you wish to perform on the reconstructed matrices?
Apr
16
comment Map structure of irregular list, Flatten then reconstruct list using structure
Regarding ranger see this Q&A and this comment and link. As I like to say to Leonid in these cases: "Great minds think alike." :-)
Apr
16
revised What does “levelspec” mean in the documentation?
added 6 characters in body
Apr
16
revised Scan vs Map vs Apply
deleted 9 characters in body
Apr
16
comment Solving nonlinear system by newton method
Qasem, your questions are not written in a manner that is adequate and appropriate for this site. You must improve the quality and content of your questions or you will be temporarily blocked from posting. This is a final warning. Please look carefully at other questions on this site, specifically ones that have been well received (are positively voted and answered), and consider how you may write your questions similarly.
Apr
16
revised Scan vs Map vs Apply
deleted 1 character in body
Apr
16
answered Scan vs Map vs Apply
Apr
16
revised How to represent a list as a cycle
deleted 1 characters in body
Apr
16
comment Sorting a table of vectors with weights
Related: (16115), (16507), (26574). Loosely related: (17041)