Artifact 5aec77eec469e0ce191cb57b5fc22535c496a68bde1c949f8c005f1f371a7b43:
- Executable file
r37/lisp/csl/html/r37_0349.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 829) [annotate] [blame] [check-ins using] [more...]
<A NAME=TRACE> <TITLE>TRACE</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>TRACE</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The <em>trace</em> operator finds the trace of its <A HREF=r37_0345.html>matrix</A> argument. <P> <H3> syntax: </H3> <P> <P> <em>trace</em>(<expression>) or <em>trace</em> <simple\_expression> <P> <P> <P> <expression> or <simple\_expression> must evaluate to a square matrix. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> matrix a; a := mat((x1,y1),(x2,y2))$ trace a; X1 + Y2 </TT></PRE><P>The trace is the sum of the entries along the diagonal of a square matrix. Given a non-matrix expression, or a non-square matrix, <em>trace</em> returns an error message. <P> <P> <P>