| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 7 months |
| seen | 6 hours ago | |
| stats | profile views | 47 |
|
May 20 |
comment |
Schrödinger equation in cylindrical coordinates Please be more precise about what you are trying to do (i.e. provide more information about the equation you are trying to solve). You will get much better answers if you show that you already put some effort into the problem yourself. That being said, you are probably looking for NDSolve. |
|
Apr 9 |
comment |
Composing an image with a plot @YvesKlett the new version comes with alpha channels. Thanks for the link, btw. It's really useful! :) |
|
Apr 9 |
comment |
Composing an image with a plot @Szabolcs I just read your comment after I did exactly that for my answer. :) |
|
Apr 8 |
comment |
Efficiently filling area with disks located at certain points @rm -rf wouldn't that relocate the disks to form a more tightly packed area? I'd like the disks' positions to be fixed at the starting points, if possible. |
|
Apr 6 |
comment |
Transform fancy usage messages in 1D string @halirutan Please have a look at the updated code. (Vll kann man damit ja mehr anfangen :)) |
|
Mar 27 |
comment |
How to determine all cases consistent with constraints (+1)Maybe you could add how to put in the constraint? Or maybe how to generalise this for more variables? Then this could be an even more useful answer. |
|
Mar 22 |
comment |
Faster way to convert triangle list to edge list with no duplicates Yup, I removed the redundant Sort. |
|
Mar 22 |
comment |
Faster way to convert triangle list to edge list with no duplicates btw, looking at your timing results, I should consider buying a new computer :) |
|
Mar 22 |
comment |
Faster way to convert triangle list to edge list with no duplicates Funny. :) It's basically the first approach that I tried. I don't really know a lot about Compile though, so I just left it as it is. And it looks quite nice and clean in my opinion. |
|
Mar 17 |
comment |
How to construct pairs in a list?f[num_Integer] :=
Union[Partition[#, 2] & /@ Permutations[Range@num],
SameTest -> (Sort[Sort /@ #1] == Sort[Sort /@ #2] &)] |
|
Mar 15 |
comment |
How to construct pairs in a list? Please take a look at the edited post. I have made the solution more general to include single terms such as your example x[1]^2. |
|
Mar 7 |
comment |
Enforcing correct variable bindings and avoiding renamings for conflicting variables in nested scoping constructs That's totally fine with me. In fact I'm glad that this question turned out to be of this much interest and spawned such a nice and thorough answer. Thank you! |
|
Mar 6 |
comment |
Enforcing correct variable bindings and avoiding renamings for conflicting variables in nested scoping constructs Thanks! This is clean and easy. I knew I was missing something here... |
|
Mar 6 |
comment |
How do I create a matrix of functions? I was rather thinking of a way that really returns a Function object. Now that I'm interested in it, I might actually write up a seperate question. |
|
Mar 6 |
comment |
How do I create a matrix of functions? Good point. I think it's interesting nevertheless, how one can compute complicated things and turn them to a function afterwards. Is there a standard way of replacing certain variables in an expression by Slots in order to create a function? |
|
Mar 6 |
comment |
How do I create a matrix of functions? As far as I see it, that would still mean the whole MapThread procedure is done every time the function is called. I think the OP wants to precompute everything, to get a function that really only inserts the arguments into the precomputed list. |
|
Mar 6 |
comment |
How do I create a matrix of functions? What are modes and sglm? Otherwise I can only post a general answer on how to create a list of functions. Or rather, as it seems that is what you need, a function in two variables that creates a list. |
|
Mar 5 |
comment |
Image of first quadrant under $f(z)=(z+i)/(z-i)$ I like the colors :), +1 |
|
Mar 5 |
comment |
How do I draw multiple 3D shapes defined by lists of points? Or Graphics3D[MapThread[Cone[{#1, #2}, #3] &, {ConeBases, ConeVertices, ConeRadii}]] |
|
Mar 4 |
comment |
How can I change the color of the bar in a ProgressIndicator? Stating that this was an advantage was maybe a bit of an exaggeration, but I thought it would be nice to have a solution that uses as much of the native design as possible. Of course, if you don't like the default anyway, it's obviously much better to construct your own progress indicator from scratch. |