55 reputation
4
bio website
location
age
visits member for 2 years, 1 month
seen May 29 '13 at 10:59

A lonely clown...


Jan
13
comment Is it possible to use PatternTest and Optional value on one Pattern simultaneously?
@LeonidShifrin Wow! I'm reading your book MathProgrammingIntro now. I have learned a lot. Thank you~
Jan
13
comment Is it possible to use PatternTest and Optional value on one Pattern simultaneously?
Thanks for your answer and modification.
Dec
10
comment How to use Optional as an omissible parameter in pattern-match?
With your definition of intPolyQ, it turns out that intPolyQ[#, x] & /@ {x, 2 x, 2 x + 1, 2 x^2 + 3 x, 2 x^2 + 3 x + 1} returns {False, False, False, True, False} in my computer! What's wrong!? @Jens