File: indexonexpression.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (24 lines) | stat: -rw-r--r-- 887 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<HTML>
<HEAD>
<TITLE>Indices on expressions</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<P><A NAME="indexonexpression"></A>
<font size="+2" color="green">Indices on expressions</font></P>
<P>
 Indices can be used on an expression. For example, if <code>x</code> and
 <code>y</code> are vectors of length <CODE>10</CODE>, then
 <code>(x+y)</code> is also a vector of length <CODE>10</CODE>,
 and an index can be used, such as <code>(x+y)[3]</code>.</p>
<p>
 The special index characters <CODE>#</CODE> and <CODE>*</CODE> <em>cannot</em> be used in indices on
 expressions.</P>
<P>
 <a href="indexonfunction.htm"><img src="../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Indices on functions</font></a><br />
 <a href="indexasexpression.htm"><img src="../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">Index as an expression</font></a>
</P>
</body>
</html>