File r37/lisp/csl/html/r37_0585.html artifact 3204978042 part of check-in 3af273af29



<A NAME=copy_into>

<TITLE>copy_into</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>COPY_INTO</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
<P>
<P>
 <P> <H3> 
syntax: </H3>
<em>copy_into</em>(&lt;A&gt;,&lt;B&gt;,&lt;r&gt;,&lt;c&gt;) 
<P>
<P>
<P>
&lt;A&gt;,&lt;B&gt; :- matrices. 
<P>
<P>
&lt;r&gt;,&lt;c&gt; :- positive integers. 
<P>
<P>
<em>copy_into</em>copies matrix &lt;matrix&gt; into &lt;B&gt; with 
&lt;matrix&gt;(1,1) at &lt;B&gt;(&lt;r&gt;,&lt;c&gt;). 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT> 

G := mat((0,0,0,0,0),(0,0,0,0,0),(0,0,0,0,0),(0,0,0,0,0),(0,0,0,0,0)); 


       [0  0  0  0  0]
       [             ]
       [0  0  0  0  0]
       [             ]
  g := [0  0  0  0  0]
       [             ]
       [0  0  0  0  0]
       [             ]
       [0  0  0  0  0]



copy_into(A,G,1,2); 

  [0  1  2  3  0]
  [             ]
  [0  4  5  6  0]
  [             ]
  [0  7  8  9  0]
  [             ]
  [0  0  0  0  0]
  [             ]
  [0  0  0  0  0]

</TT></PRE><P>Related functions: 

<A HREF=r37_0576.html>augment_columns</A>, 
<A HREF=r37_0587.html>extend</A>, 
<A HREF=r37_0599.html>matrix_augment</A>, 

<A HREF=r37_0601.html>matrix_stack</A>, 
<A HREF=r37_0614.html>stack_rows</A>, 
<A HREF=r37_0615.html>sub_matrix</A>. 
<P>
<P>


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