File r37/lisp/csl/html/r37_0598.html artifact d4101af05e part of check-in 2f3b3fd537



<A NAME=make_identity>

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



<B>MAKE_IDENTITY</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
<P>
<P>
 <P> <H3> 
syntax: </H3>
<em>make_identity</em>(&lt;square\_size&gt;) 
<P>
<P>
<P>
&lt;square\_size&gt; :- a positive integer. 
<P>
<P>
<em>make_identity</em>creates the identity matrix of dimension 
&lt;square\_size&gt;. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>

make_identity(4); 

  [1  0  0  0]
  [          ]
  [0  1  0  0]
  [          ]
  [0  0  1  0]
  [          ]
  [0  0  0  1]

</TT></PRE><P>Related functions: 
<A HREF=r37_0586.html>diagonal</A>. 
<P>
<P>


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