Artifact 834646b51e1be766feee480fc280a04628ecee50d391f9cd800bad6dc1a4f595:
- Executable file
r37/lisp/csl/html/r37_0342.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: 1096) [annotate] [blame] [check-ins using] [more...]
<A NAME=DET> <TITLE>DET</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>DET</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The <em>det</em> operator returns the determinant of its (square <A HREF=r37_0345.html>matrix</A>) argument. <P> <P> <P> <H3> syntax: </H3> <em>det</em>(<expression>) or <em>det</em> <expression> <P> <P> <P> <expression> must evaluate to a square matrix. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> matrix m,n; m := mat((a,b),(c,d)); M(1,1) := A M(1,2) := B M(2,1) := C M(2,2) := D det m; A*D - B*C n := mat((1,2),(1,2)); N(1,1) := 1 N(1,2) := 2 N(2,1) := 1 N(2,2) := 2 det(n); 0 det(5); 5 </TT></PRE><P>Given a numerical argument, <em>det</em> returns the number. Howev er, given a variable name that has not been declared of type matrix, or a non-square matrix, <em>det</em> returns an error message. <P> <P> <P>