an
existing double array</B>,</P>
<P STYLE="font-style: normal">// in order to avoid duplicating the
array</P>
<P><I>var tm = new Mat(1,1) // a small Mat object</I></P>
<P><I>tm.setv(dd, 2, 4) // set its value content to an existing
double arrayof size 2X4</I></P>
<P><BR><BR>
</P>
<P><SPAN STYLE="text-decoration: none"><B>Mat(rows: Integer, cols:
Integer, initValue: Double) </B></SPAN><SPAN STYLE="text-decoration: none"><SPAN STYLE="font-weight: medium">//
Creates a Mat of size rows, cols initial