|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
BlankSequence 
(two
characters) or BlankSequence[]
is a pattern object that can stand for any sequence of one or more Mathematica expressions.
or BlankSequence[h]
can stand for any sequence of one or more expressions, all of which have head h.
ExamplesExamplesopen allclose all
Basic Examples (3)Basic Examples (3)
A function definition that works with any nonzero number of arguments:
| In[1]:= |
| In[2]:= |
| Out[2]= |
A function definition that works with any nonzero number of real arguments:
| In[1]:= |
| In[2]:= |
| Out[2]= |
A function definition for a symbol followed by any nonzero number of integer arguments:
| In[1]:= |
| In[2]:= |
| Out[2]= |
New in 1
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
