Indexed

Indexed[expr,i]
represents the component of expr with index i and formats as .

Indexed[expr,{i,j,}]
represents the component with indices i, j, and formats as .

DetailsDetails

  • Indexed can be used to indicate components of symbolic vectors, matrices, tensors, etc.
  • When expr is a list, Indexed[expr,i] gives .
  • When expr is a list, Indexed[expr,{i,j,}] gives Indexed[expr[[i]],{j,}].

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Represent part 1 of a symbolic vector :

In[1]:=
Click for copyable input
Out[1]=

For a concrete vector it extracts the part:

In[1]:=
Click for copyable input
Out[1]=

Represent part in a symbolic matrix :

In[1]:=
Click for copyable input
Out[1]=

For a concrete matrix it extracts the part:

In[2]:=
Click for copyable input
Out[2]=

Use Indexed to work with symbolic vector variables:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)