| bio | website | mathematicacookbook.com |
|---|---|---|
| location | New York | |
| age | ||
| visits | member for | 1 year, 4 months |
| seen | Mar 19 '12 at 6:44 | |
| stats | profile views | 136 |
Programmer, Author, Blogger, Lover of Science and Math
Books: Mathematica Cookbook, O'Reilly XSLT Cookbook, O'Reilly
|
Jan 17 |
awarded | Yearling |
|
Apr 10 |
awarded | Nice Answer |
|
Jan 28 |
awarded | Nice Answer |
|
Jan 28 |
answered | Functional style using lazy lists? |
|
Jan 26 |
answered | How do you efficiently return all of a List but one element? |
|
Jan 26 |
answered | Does there exist any way to add type annotations? |
|
Jan 26 |
answered | Functions vs. patterns |
|
Jan 26 |
answered | With versus Function |
|
Jan 21 |
awarded | Teacher |
|
Jan 21 |
comment |
Fastest square number test True, but this does not speed up the sq test per se it is just a faster way to apply the function across a list than Table is. Good idea though! |
|
Jan 21 |
comment |
Fastest square number test The overhead of messaging involved in MatheLink would kill it. Possibly Mathematica 8's ability to load a DLL would help if you used C. But consider if your application really warrants this compared to what I offered below. The speed up you may get is probably not worth the effort. |
|
Jan 21 |
comment |
Fastest square number test Ignore what I said about EvenQ! Need coffee! |
|
Jan 21 |
comment |
Fastest square number test Adding a test for EvenQ gives a slight speed up but not much. If the numbers are very large it probably helps more. Testing for ending in 0,1,4,6,9, or 25 is possible but I have not tried it and seem like overkill. |
|
Jan 21 |
answered | Fastest square number test |
|
Jan 18 |
awarded | Nice Question |
|
Jan 18 |
awarded | Supporter |
|
Jan 18 |
comment |
What are the exact guidelines for what is allowed in a CDF? You can see the code here: mathematicacookbook.com/?p=149. At bottom of post. |
|
Jan 18 |
awarded | Student |
|
Jan 18 |
asked | What are the exact guidelines for what is allowed in a CDF? |