aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/pscat.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/pscat.spad.pamphlet')
-rw-r--r--src/algebra/pscat.spad.pamphlet6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/algebra/pscat.spad.pamphlet b/src/algebra/pscat.spad.pamphlet
index 86eecd2f..37f63dd1 100644
--- a/src/algebra/pscat.spad.pamphlet
+++ b/src/algebra/pscat.spad.pamphlet
@@ -96,7 +96,8 @@ UnivariatePowerSeriesCategory(Coef,Expon): Category == Definition where
Expon : OrderedAbelianMonoid
Term ==> Record(k:Expon,c:Coef)
- Definition ==> PowerSeriesCategory(Coef,Expon,SingletonAsOrderedSet) with
+ Definition ==> Join(PowerSeriesCategory(Coef,Expon,SingletonAsOrderedSet),_
+ Eltable(Expon,Coef)) with
terms: % -> Stream Term
++ \spad{terms(f(x))} returns a stream of non-zero terms, where a
@@ -106,9 +107,6 @@ UnivariatePowerSeriesCategory(Coef,Expon): Category == Definition where
--++ \spad{series(st)} creates a series from a stream of non-zero terms,
--++ where a term is an exponent-coefficient pair. The terms in the
--++ stream should be ordered by increasing order of exponents.
- elt: (%,Expon) -> Coef
- ++ \spad{elt(f(x),r)} returns the coefficient of the term of degree r in
- ++ \spad{f(x)}. This is the same as the function \spadfun{coefficient}.
variable: % -> Symbol
++ \spad{variable(f)} returns the (unique) power series variable of
++ the power series f.