-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
documentationSomething should be added to the documentationSomething should be added to the documentation
Milestone
Description
Hi!
Suppose I want to do partial fraction of many denominators (below den(x?) means 1/(k.k - x) for example).
s x,y,z, mm1,mm2;
c den,inv;
g ff1 = den(mm1)*den(mm2);
g ff2 = den(mm1)^2;
repeat id den(x?)*den(y?!{,x}) = inv(x-y)*( den(x) - den(y) );
print+s;
.end
Result:
ff1 =
+ den(mm1)*inv( - mm2 + mm1)
- den(mm2)*inv( - mm2 + mm1)
;
ff2 = 0;
ff1 is ok. But I dont want to capture terms with x==y.
Construction
id den(x?)*den(y?!{,x}) = inv(x-y)*( den(x) - den(y) );
does not make the job and ignores my check for the set.
Metadata
Metadata
Assignees
Labels
documentationSomething should be added to the documentationSomething should be added to the documentation