61,271 reputation
5151350
bio website nd.edu/~szhorvat/pelican/…
location ND
age
visits member for 2 years, 10 months
seen 16 secs ago

contact details

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

Visit Mathematica.SE


Nov
14
answered Simple while loop alternative in Mathematica
Nov
14
comment Simple while loop alternative in Mathematica
Just for fun: Block[{$IterationLimit = Infinity}, If[RandomReal[] > 0.9999, #, #0[# + 1]] &[0]]. Another: NestWhile[# + 1 &, 0, RandomReal[] < 0.9999 &].
Nov
13
awarded  Nice Answer
Nov
13
comment Is Mathematica 10 compatible with Mac OS X 10.10 Yosemite
The same dialog box has a button that will take you to the download page: support.apple.com/kb/DL1572
Nov
13
reviewed Approve suggested edit on Is Mathematica 10 compatible with Mac OS X 10.10 Yosemite
Nov
13
awarded  Nice Answer
Nov
13
revised A one line proof that one is zero using Mathematica 10
added 35 characters in body
Nov
13
answered A one line proof that one is zero using Mathematica 10
Nov
13
comment A one line proof that one is zero using Mathematica 10
Welcome to Mathematica.SE! This is a questions/answers site, and a bit different from forums you may be used to. Posts are expected to be practical and answerable questions. Please also realize that this site is independent of Wolfram Research and the people here are just users like you. It is not the place for bug reports, you'll need to contact WRI for that. That said, I believe that the behaviour you see is reasonable and won't be any different for other computer algebra systems. I'll elaborate in an answer.
Nov
13
comment How do I extract the value of a 'Style'?
It's probably best to try to avoid storing values together with wrappers like Style, MatrixForm, NumberForm, etc. Apply the wrappers only before display, but not while doing computations. We need to do the same when using Dynamic. Of course this is not an answer, just a suggestion.
Nov
13
comment Is it possible to have a function with non-global parameters?
Please see the linked question on how to construct packages. These name clashes will not happen when the standard package structure is followed.
Nov
13
comment Why is TextString[-0.5] a positive number?
@Mr.Wizard No, won't fix it. I'm really annoyed by the recent decline in quality . When one has spare time, it might be fun digging up problems like this. But when it affects our work directly, and wastes a lot of time, then it is horrible. I can imagine that after an experience like Martin's (messing up his experimental results and wasting a lot of time) many people wouldn't touch Mma with a 10 foot pole. It can't even format a number reliably!
Nov
13
comment Why is TextString[-0.5] a positive number?
@Öskå Check this out: mathematica.stackexchange.com/a/15948/12 (get the github version of the code)
Nov
13
answered Why is TextString[-0.5] a positive number?
Nov
13
revised Why is TextString[-0.5] a positive number?
edited tags
Nov
13
comment Why is TextString[-0.5] a positive number?
Looks like a nasty bug, adding tag. Please report it to WRI, and do mention your measurements and the consequences.
Nov
13
comment Adding elements to an empty list after multiplying a constant
Look up Differences. But before asking questions like this, please do show what you have tried. Solving such a problem is an elementary programming exercise, something everyone who programmed even a little bit should be able to solve in some language. How much time have you spent trying to solve this before you posted the question? At least have you checked how to index lists in Mathematica and how to loop?
Nov
13
answered Large Tuples with Negative Integers
Nov
12
comment Replace x, but not x[a]
@rcollyer Just tried in 8 and 9. It seems this is new in v10. Only tested it in Level and Replace. Perhaps it doesn't yet work in all function that take level specifications.
Nov
12
revised Replace x, but not x[a]
added 84 characters in body