Artifact 375006fc4abbe2f2503c4f9809d11aec8903d40e8ac0768056a3140e639ca429:
- Executable file
r37/lisp/csl/html/r37_0070.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: 873) [annotate] [blame] [check-ins using] [more...]
<A NAME=ABS> <TITLE>ABS</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>ABS</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The <em>abs</em> operator returns the absolute value of its argument. <P> <P> <P> <H3> syntax: </H3> <em>abs</em>(<expression>) <P> <P> <P> <expression> can be any REDUCE scalar expression. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> abs(-a); ABS(A) abs(-5); 5 a := -10; A := -10 abs(a); 10 abs(-a); 10 </TT></PRE><P>If the argument has had no numeric value assigned to it, such as a n identifier or polynomial, <em>abs</em> returns an expression involving <em>abs</em> of its argument, doing as much simplification of the argument as it can, such as dropping any preceding minus sign. <P> <P> <P>