5.4. IndexRule and IndexRuleDelayed
The function IndexRule relates to Rule exactly in the same way that IndexSet relates to Set. It just introduces Module constructs. The symbol |→ has been introduced. It is input as \[RightTeeArrow], but this input sequence doesn't work with the style used in this notebook (I don't know why).
IndexRule Construct rule for an indexed expression, at definition time
IndexRuleDelayed Construct rule for an indexed expression, at evaluation time
Rule functions for indexed expressions.
Here we have again the problem of repeated indices b:
In[395]:=
Out[395]=
Using IndexRule the problem disappears:
In[396]:=
Out[396]=
In[397]:=
Out[397]=
Created by Mathematica (May 16, 2008) |