AN></P>
<P STYLE="font-style: normal; text-decoration: none"><B>def Nrows:
Int </B><SPAN STYLE="font-weight: medium">// Returns the number of
rows of Mat</SPAN></P>
<P><B>def Ncols: Int</B> <SPAN STYLE="font-weight: medium">// Returns
the number of columns of Mat</SPAN></P>
<P><BR><BR>
</P>
<P><U><B>Routines</B></U></P>
<P><BR><BR>
</P>
<P><B>def ones0(n: Int): Mat  - </B><SPAN STYLE="font-weight: medium">constructs
a nXn Mat of  ones</SPAN></P>
<P><B>def ones0(n: Int, m: Int): Mat  </B><SPAN S