<A NAME=band_matrix>
<TITLE>band_matrix</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>BAND_MATRIX</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P>
<P>
<P>
<P>
<P> <H3>
syntax: </H3>
<em>band_matrix</em>(<expr\_list>,<square\_size>)
<P>
<P>
<P>
<expr\_list> :- either a single scalar expression or a list of
an odd number of scalar expressions.
<P>
<P>
<square\_size> :- a positive integer.
<P>
<P>
<em>band_matrix</em>creates a square matrix of dimension
<square\_size>. The diagonal consists of the middle expression
of the <expr\_list>. The expressions to the left of this fill
the required number of sub_diagonals and the expressions to the right
the super_diagonals.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
band_matrix({x,y,z},6)
[y z 0 0 0 0]
[ ]
[x y z 0 0 0]
[ ]
[0 x y z 0 0]
[ ]
[0 0 x y z 0]
[ ]
[0 0 0 x y z]
[ ]
[0 0 0 0 x y]
</TT></PRE><P>Related functions:
<A HREF=r37_0586.html>diagonal</A>.
<P>
<P>