Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Patterns >

Alternatives (|)

p1|p2|...
is a pattern object which represents any of the patterns pi.
  • If a named pattern such as x_ appears in pi that are not used in a particular match, then the named pattern is taken to have a value that is a zero-length sequence Sequence[].
New in 2
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team