Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Patterns >

Repeated (..)

Updated In 6 Graphic
p.. or Repeated[p]
is a pattern object which represents a sequence of one or more expressions, each matching p.
Repeated[p, max]
represents up to max expressions matching p.
Repeated[p, {min, max}]
represents between min and max expressions matching p.
Repeated[p, {n}]
represents exactly n expressions matching p.
  • p.. can appear as an argument of any function. It represents any sequence of arguments.
  • All the objects in the sequence represented by p.. must match p, but the objects need not be identical.
  • The expression p may, but need not, itself be a pattern object.
New in 1 | Last modified in 6
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team