Reputation
Next privilege 75 Rep.
Set bounties
Badges
5
Impact
~400 people reached

  • 0 posts edited
  • 0 helpful flags
  • 36 votes cast
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