File r37/lisp/csl/html/r37_0309.html artifact c1baf48c4c part of check-in 3c4d7b69af



<A NAME=NERO>

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



<B>NERO</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>switch</B><P>
<P>
 
 <P>
<P>
When <em>nero</em> is on, zero assignments (such as matrix elements) are not 
printed. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
matrix a;
a := mat((1,0),(0,1)); 

  A(1,1) := 1
  A(1,2) := 0
  A(2,1) := 0
  A(2,2) := 1


on nero; 

a; 

  MAT(1,1) := 1
  MAT(2,2) := 1


a(1,2); </TT></PRE><P>nothing is printed.<P><PRE><TT>


b := 0; </TT></PRE><P>nothing is printed.<P><PRE><TT>


off nero; 

b := 0; 

  B := 0

</TT></PRE><P> 
<P>
<P>
<em>nero</em>is often used when dealing with large sparse matrices, to avoid 
being overloaded with zero assignments. 
<P>
<P>
<P>


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