5.1.127 trace
-------------
Syntax:
trace ( intmat_expression )

trace ( matrix_expression )
Type:
int, if the argument is an intmat, resp. 

poly, if the argument is a matrix
Purpose:
returns the trace of an intmat, resp. matrix.
Example:
  intmat m[2][2]=1,2,3,4;
  print(m);
==>      1     2
==>      3     4
  trace(m);
==> 5
See
intmat;
matrix.
<font size="-1">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User manual for <a href="http://www.singular.uni-kl.de/"><i>Singular</i></a> version 2-0-4, October 2002,
generated by <a href="http://www.gnu.org/software/texinfo/"><i>texi2html</i></a>.
</font>

</body>
</html>
