Artifact e1c3d47461e85d9b4f2b15b3a8ba713cadca15c172c1904f06a06dec94b4ef24:
- Executable file
r37/lisp/csl/html/r37_0156.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: 981) [annotate] [blame] [check-ins using] [more...]
<A NAME=LCOF> <TITLE>LCOF</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>LCOF</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> The <em>lcof</em> operator returns the leading coefficient of a given expression with respect to a given variable. <P> <H3> syntax: </H3> <P> <P> <em>lcof</em>(<expression>,<kernel>) <P> <P> <P> <expression> is ordinarily a polynomial. If <A HREF=r37_0322.html>ratarg</A> is on, a rational expression may also be used, otherwise an error results. <kernel> must be a <A HREF=r37_0002.html>kernel</A>. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> lcof((x+2*y)**5,y); 32 lcof((x + y*sin(x))**2 + cos(x)*sin(x)**2,sin(x)); 2 COS(X) + Y lcof(x**2 + 3*x + 17,y); 2 X + 3*X + 17 </TT></PRE><P>If the kernel does not appear in the expression, <em>lcof</em> ret urns the expression. <P> <P> <P>