Legacy Documentation

Mathematica CalcCenter 2 (2002)

This is documentation for an obsolete product.
Current products and services

Documentation / CalculationCenter / Functions / Lists & Matrices / List Operations /

Position

FilledSmallSquare Position[expr, pattern] gives a list of the positions at which objects matching pattern appear in expr.

FilledSmallSquare Position[expr, pattern] tests all the subparts of expr in turn to try and find ones that match pattern.

FilledSmallSquare A part specification {} returned by Position represents the whole of expr.

FilledSmallSquare See also: Column, Insert, Take.

Examples

Using InstantCalculators

Here is the InstantCalculator for the Position function. Enter the parameters for your calculation and click Calculate to see the result.

In[1]:=

Out[1]=

Entering Commands Directly

You can paste a template for this command via the Text Input button on the Position Function Controller.

The symbol c occurs in the second and fourth positions of this list.

In[2]:=

Out[2]=



ja