File r37/lisp/csl/html/r37_0587.html artifact 892af7aac2 part of check-in e1a8550313



<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>(&lt;matrix&gt;,&lt;r&gt;,&lt;c&gt;,&lt;expr&gt;) 
<P>
<P>
<P>
&lt;matrix&gt; :- a 
<A HREF=r37_0345.html>matrix</A>. 
<P>
<P>
&lt;r&gt;,&lt;c&gt; :- positive integers. 
<P>
<P>
&lt;expr&gt; :- algebraic expression or symbol. 
<P>
<P>
<em>extend</em>returns a copy of &lt;matrix&gt; that has been extended by 
&lt;r&gt; rows and &lt;c&gt; columns. The new entries are made equal to 
&lt;expr&gt;. 
<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>


REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]