Skip to main content

All Questions

1 vote
1 answer
74 views

Clarification of the $MemberQ$

There are a number of expressions: ...
ayr's user avatar
  • 2,444
2 votes
0 answers
116 views

Store pattern names in variables, and use them in Condition (/;)

I am trying to create patterns whose form is not hard-coded, and which are not explicitly directly written. For that I want to use one list of pattern names to name some parts of a ...
abcd's user avatar
  • 483
4 votes
1 answer
127 views

Alternatives in pure function construction

When I declare a function f in the following form: f[a|b] := 1 then I can use it like: ...
Pedro Sobota's user avatar