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

SlotSequence (##)

##
represents the sequence of arguments supplied to a pure function.
##n
represents the sequence of arguments supplied to a pure function, starting with the nth argument.
  • ## is used to represent sequences of arguments in pure functions of the form body& or Function[body].
  • A sequence of arguments supplied to a pure function is "spliced" into the body of the function wherever ## and so on appear.
## represents the complete sequence of arguments supplied to the pure function:
In[1]:=
Click for copyable input
Out[1]=
 
Start with the second argument:
In[1]:=
Click for copyable input
Out[1]=
New in 1
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team