Artifact 43ea0c2d6cfb43c71e22d9dd6f8fecd67397938f2938fe1f725fb2ff98d35d31:
- Executable file
r37/lisp/csl/html/r37_0175.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: 1544) [annotate] [blame] [check-ins using] [more...]
<A NAME=RHS> <TITLE>RHS</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>RHS</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The <em>rhs</em> operator returns the right-hand side of an <A HREF=r37_0045.html>equation</A>, such as those returned in a <A HREF=r37_0053.html>list</A> by <A HREF=r37_0179.html>solve</A>. <P> <H3> syntax: </H3> <P> <P> <em>rhs</em>(<equation>) or <em>rhs</em> <equation> <P> <P> <P> <equation> must be an equation of the form left-hand side = right-hand side. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> roots := solve(x**2 + 6*x*y + 5x + 3y**2,x); 2 SQRT(24*Y + 60*Y + 25) + 6*Y + 5 ROOTS := {X= - ---------------------------------, 2 2 SQRT(24*Y + 60*Y + 25) - 6*Y - 5 X= ---------------------------------} 2 root1 := rhs first roots; 2 SQRT(24*Y + 60*Y + 25) + 6*Y + 5 ROOT1 := - --------------------------------- 2 root2 := rhs second roots; 2 SQRT(24*Y + 60*Y + 25) - 6*Y - 5 ROOT2 := ---------------------------------- 2 </TT></PRE><P>An error message is given if <em>rhs</em> is applied to something other than an equation. <P> <P> <P>