49,627 reputation
3100203
bio website halirutan.de
location Leipzig, Germany
age
visits member for 2 years, 11 months
seen 2 mins ago

Although I'm quite familiar with Mathematica, I always try to keep an open mind and don't use it as golden hammer. I'm particularly good at things that are fun, for instance


4h
comment Needs entry point of a package from a Mathematica script
How does the BeginPackage command looks inside your wde.m when the message appears? Please try the following: Append to your $Path only Directory[], without the wde sub-dir. In your wde.m you define BeginPackage["wde`"] and in your Kernel/init.m you use Get["wde`wde`"].
5h
answered Issue with integration from 0 to infinity with constants
5h
comment Picking items from a list
+1 And you shouldn't have made it CW. One drawback here is that this approach will only work for machine integers (or machine types). The part that makes your answer so valuable is that it clearly shows how optimized Bag is if it works on those primitive types. The same code without compile is not really faster than nested lists or reap and sow..
5h
comment Picking items from a list
@rogerl See my update
5h
revised Picking items from a list
added 2670 characters in body
6h
revised Picking items from a list
added 2670 characters in body
7h
answered Picking items from a list
7h
answered Default value behaves differently when used in Function and when used with Cases
2d
revised Getting code from the Wolfram Demonstrations Projects
added 39 characters in body
2d
comment Subroutine execution repetition
Of course this is OK.
Dec
26
answered Subroutine execution repetition
Dec
26
answered Trace two DateListPlots?
Dec
25
reviewed Close Generate nonoverlapping random circles
Dec
25
reviewed Close How to randomly create disks with randomized radii under given specific cover ratio?
Dec
25
comment Bug in plotting function using FindMinimum?
This is most certainly a bug. I can only emphasize what Olek mentioned at the end: A Throw inside a built-in function should never reach the user. This would be very bad style. Btw, I get the same output as you did on Linux 64 with Mathematica 10.0.2.
Dec
25
comment List Manipulation Via Conditionals
What about Table[If[Mod[l, 2] == 0, l, 0], {l, l1}] for arbitrary l1? Remember that you can simply iterate through l1 with this, when you don't need the index of the current element.
Dec
25
comment List Manipulation Via Conditionals
Why is your Piecewise so complicated? You only need one condition which is Mod[#,2]==0. If this is not satisfied, that you can use the default value. So either Piecewise[{{#, Mod[#, 2] == 0}}, 0] & or even shorter Piecewise[{{#, Mod[#, 2] == 0}}] & should be enough.
Dec
23
reviewed Close Dealing with implicit function
Dec
23
reviewed Leave Open Buying a new computer (specifically for Mathematica)
Dec
23
comment Localised variable shows up as Global
Chris, your edited question is quite different from your original one. Are you satisfied with the information you have the answers? I haven't voted to reopen because I'm a bit unsure whether it isn't still a duplicate.