<A NAME=extend>
<TITLE>extend</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>EXTEND</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P>
<P>
<P>
<P>
<P> <H3>
syntax: </H3>
<em>extend</em>(<matrix>,<r>,<c>,<expr>)
<P>
<P>
<P>
<matrix> :- a
<A HREF=r37_0345.html>matrix</A>.
<P>
<P>
<r>,<c> :- positive integers.
<P>
<P>
<expr> :- algebraic expression or symbol.
<P>
<P>
<em>extend</em>returns a copy of <matrix> that has been extended by
<r> rows and <c> columns. The new entries are made equal to
<expr>.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
extend(A,1,2,x);
[1 2 3 x x]
[ ]
[4 5 6 x x]
[ ]
[7 8 9 x x]
[ ]
[x x x x x]
</TT></PRE><P>Related functions:
<A HREF=r37_0585.html>copy_into</A>,
<A HREF=r37_0599.html>matrix_augment</A>,
<A HREF=r37_0601.html>matrix_stack</A>,
<A HREF=r37_0608.html>remove_columns</A>,
<A HREF=r37_0609.html>remove_rows</A>.
<P>
<P>