Artifact 47296cdf535af72d914fdf3ee959b0bbbf107e05d6db3e2609df6680427fa3a9:
- Executable file
r37/lisp/csl/html/r37_0170.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: 1454) [annotate] [blame] [check-ins using] [more...]
<A NAME=PF> <TITLE>PF</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>PF</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> <P> <H3> syntax: </H3> pf(<expression>,<variable>) <P> <P> <P> <em>pf</em>transforms <expression> into a <A HREF=r37_0053.html>list</A> of partial fraction s with respect to the main variable, <variable>. <em>pf</em> does a complete partial fraction decomposition, and as the algorithms used are fairly unsophisticated (factorization and the extended Euclidean algorithm), the code may be unacceptably slow in complicated cases. <P> <H3> examples: </H3> <P><PRE><TT> pf(2/((x+1)^2*(x+2)),x); 2 -2 2 {-----,-----,------------} X + 2 X + 1 2 X + 2*X + 1 off exp; pf(2/((x+1)^2*(x+2)),x); 2 - 2 2 {-----,-----,--------} X + 2 X + 1 2 (X + 1) for each j in ws sum j; 2 ---------------- 2 ( + 2)*(X + 1) </TT></PRE><P><P> <P> If you want the denominators in factored form, turn <A HREF=r37_0284.html>exp</A> off, as shown in the second example above. As shown in the final example, the <A HREF=r37_0047.html>for</A> <em>each</em> construct can be used to recombine t he terms. Alternatively, one can use the operations on lists to extract any desired term. <P> <P> <P>