1,365 reputation
532
bio website
location
age 29
visits member for 1 year, 11 months
seen 2 hours ago

As time goes on, I grow more disillusioned with quantum field theory.


2d
comment Recognizing special cases of a defined function for permuted arguments
This is better, but the invariance of the function $f$ isn't for permutations of first three arguments $a,b,c$ independent of the second three $x,y,z$. They are tied together. But no problem; your answer and @BobHanlon's answer pointed me in the right direction: I could declare SetAttributes[f1, Orderless] but with the arguments arranged f1[{a_,x_},{b_,y_},{c_,z_}], and make the library of special cases for f1. Then finally, I put f[a_,b_,c_,d_,e_,f_] = f1[{a,x},{b,y},{c,z}]. I tried a few cases and it seems to work. What do you think?
2d
comment Recognizing special cases of a defined function for permuted arguments
This won't work because $f$ isn't completely orderless among all six variables.
Jul
10
comment Define PolyLog so that positive reals evaluate on upper edge of branch cut
@Öskå These won't do; I need to be able to use this analytically too. See the edit.
Feb
5
comment Optimizing my code to generate symmetric tensors
No that will not be necessary. But thanks for offering!
Feb
5
comment Optimizing my code to generate symmetric tensors
This is fantastic! Thank you for fixing my code, and making it go faster. Many thanks!
Feb
5
comment Optimizing my code to generate symmetric tensors
Yes actually, your answer works wonderfully. I should have commented.
Jan
29
comment Checking through an expression
Very nice. In the right hand side, would it still work if I replaced Union @ allowedList with just allowedList?
Jan
24
comment Extracting argument sequences from function expressions
Yeah, I thought it was that too. But it turned out not to be.
Oct
29
comment How do I put my packages into Dropbox
@Peltio Please put your response as an answer so I can accept it. (Please add a few words about making changes to $Path permanent).
Oct
29
comment How do I put my packages into Dropbox
Ok, the answer to my second question is here: mathematica.stackexchange.com/questions/1874/…
Oct
29
comment How do I put my packages into Dropbox
Ok, I tried it, and that works! but only for one time. $Path gets reset every time I open Mathematica, so I need something more permanent.
Jun
5
comment How do I find the coordinates of points in this image?
@Jens I was hoping to figure out how to do that -- but I couldn't, so doing it this way was my last-ditch try.
Jun
4
comment How do I find the coordinates of points in this image?
Anywhere can be the origin. I will shift and scale the numbers as need be!
May
26
comment Visualizing vector-spherical waves
It works! Though it's hard to choose the best seed points
May
20
comment Visualizing vector-spherical waves
HI Jens, it doesn't seem to work. I am getting an error. First, I am using Sequence @@ CoordinateTransform["Cartesian" -> "Spherical", {x, y, z}] because I am using version 9. Then I am taking the fieldLinePlot out of the Table because I just want one frame. When I run it, I get a bunch of errors, the first one being NDSolve[...] nether a list of replacement rules nor a valid dispatch table followed by part specification errors. The code runs fine in the two examples that you linked to (pair of charges, and current). Any ideas?
May
14
comment Getting MemoryAllocationFailure from NIntegrate
My experience with this site tells me that people will ask you to show them what integral you're trying to do, and what output (if any) you get before crashing.. in both versions.
May
12
comment Visualizing vector spherical harmonics
This is fantastic. In v9, there is the built-in function CoordinateTransform that supersedes CoordinatesToCartesian and (I believe) the VectorAnalysis package as a whole. Soon, I will be multiplying with the BesselJ function, just as you predicted, and will need your help when I do!
Mar
21
comment Define a Plot3D function with custom options
That fixed the problem! Thanks
Mar
15
comment Saving a notebook as PDF, preserving syntax highlighting
@Mr.Wizard No, I never got it to work. But, I am still eager to get it to work. I have v 9.0.1
Mar
8
comment Version 8.0 integrates but Version 9.0.1 doesn't
Thanks for reproducing; I have removed the bugs tag.