1,123 reputation
16
bio website
location
age 27
visits member for 9 months
seen 2 hours ago
stats profile views 76

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


Jan
25
revised in v9, backspace causes cell to become section style
added 65 characters in body
Jan
25
awarded  Editor
Jan
25
revised Hiding certain user-defined functions in front-end autocompletion
corrected vocab
Jan
25
comment Hiding certain user-defined functions in front-end autocompletion
Do you mean I am supposed to hope the user doesn't start writing xxx...?
Jan
25
comment Hiding certain user-defined functions in front-end autocompletion
Oh sorry, yes; I meant the autocompletion. I will make edit. But I also don't know how to write a package...
Jan
25
asked in v9, backspace causes cell to become section style
Jan
25
asked Hiding certain user-defined functions in front-end autocompletion
Jan
23
asked Enable syntax-coloring on user-defined function
Jan
20
comment How to identify patterns in a tensor-polynomial and replace appropriate symbol?
Yes, this is very short indeed! And, yes, the power will always be a numeric integer; never symbolic.
Jan
20
accepted How to identify patterns in a tensor-polynomial and replace appropriate symbol?
Jan
20
comment How to identify patterns in a tensor-polynomial and replace appropriate symbol?
This is my favorite! I am especially impressed by your correct guess that a constant should yield f[{}]. Your code and the accompanying explanation was clear enough for me to be able to tweak and embed it into my program. One question/observation: this code seems to work correctly even when the input polynomial is not expanded out in full: for example $(r_i+q_i)(r_j+q_j)$ works as intended. At what point does Mathematica know to expand everything out?
Jan
20
asked How to identify patterns in a tensor-polynomial and replace appropriate symbol?
Jan
14
comment How to set a TraditionalForm output for a symbol
This is certainly a very short piece of code, but I've never seen many of the symbols/functions in here. I'd have to investigate!
Jan
14
comment func::usage needs to be run twice?
I'm using Mathematica 8
Jan
13
asked func::usage needs to be run twice?
Jan
12
accepted How to override `?NumericQ`
Jan
11
accepted How to set a TraditionalForm output for a symbol
Jan
11
comment How to set a TraditionalForm output for a symbol
Yes, you are right; Jens' answer doesn't lead to extraneous parentheses. And, yeah -- I thought your answer was more economical because it took 'fewer lines.' Those are my newbie instincts showing up.
Jan
11
comment How to set a TraditionalForm output for a symbol
Oh, I am just saying that the result of the example in my comment above is: $3\big(B_{0011}(s,m0,m1)\big)$, and the outer parenthesis is extraneous.
Jan
11
comment How to set a TraditionalForm output for a symbol
This answer is very economical, but the problem is that if the pvB function appears in a larger expression, an unneeded pair of parenthesis is added around it. Try TraditionalForm[3 pvB[2,4,x,s,m0,m1]], for example. How should I remove it?