Artifact 1373520f578556fa87d18fa851fd929bd8f26fd382ef06b7174413309a8f9f8b:
- Executable file
r37/lisp/csl/html/r37_0262.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: 1244) [annotate] [blame] [check-ins using] [more...]
<A NAME=TANH> <TITLE>TANH</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>TANH</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The <em>tanh</em> operator returns the hyperbolic tangent of its argument. The derivative of <em>tanh</em> and some simple transformations are known to the system. <P> <P> <P> <H3> syntax: </H3> <em>tanh</em>(<expression>) or <em>tanh</em> <simple\_expression> <P> <P> <P> <expression> may be any scalar REDUCE expression, not an array, matrix or vector expression. <simple\_expression> must be a single identifier or begin with a prefix operator name. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> tanh b; TANH(B) tanh(0); 0 df(tanh(x*y),x); 2 Y*( - TANH(X*Y) + 1) int(tanh(x),x); 2*X LOG(E + 1) - X on rounded; tanh 2; 0.964027580076 </TT></PRE><P>You may attach further functionality by defining its inverse (see <A HREF=r37_0247.html>atanh</A>). A numeric value is not returned by <em>tanh</em> unless the switch <A HREF=r37_0330.html>rounded</A> is on and its argument evaluates to a number. <P> <P> <P>