UnivariateTaylorSeries(Coef, var, cen)ΒΆ
taylor.spad line 134 [edit on github]
Dense Taylor series in one variable UnivariateTaylorSeries is a domain representing Taylor series in one variable with coefficients in an arbitrary ring. The parameters of the type specify the coefficient ring, the power series variable, and the center of the power series expansion. For example, UnivariateTaylorSeries(Integer, x
, 3) represents Taylor series in (x - 3)
with Integer coefficients.
- 0: %
from AbelianMonoid
- 1: %
from MagmaWithUnit
- *: (%, %) -> %
from Magma
- *: (%, Coef) -> %
from RightModule Coef
- *: (%, Fraction Integer) -> % if Coef has Algebra Fraction Integer
from RightModule Fraction Integer
- *: (Coef, %) -> %
from LeftModule Coef
- *: (Fraction Integer, %) -> % if Coef has Algebra Fraction Integer
from LeftModule Fraction Integer
- *: (Integer, %) -> %
from AbelianGroup
- *: (NonNegativeInteger, %) -> %
from AbelianMonoid
- *: (PositiveInteger, %) -> %
from AbelianSemiGroup
- +: (%, %) -> %
from AbelianSemiGroup
- -: % -> %
from AbelianGroup
- -: (%, %) -> %
from AbelianGroup
- /: (%, Coef) -> % if Coef has Field
from AbelianMonoidRing(Coef, NonNegativeInteger)
- ^: (%, %) -> % if Coef has Algebra Fraction Integer
- ^: (%, Coef) -> % if Coef has Field
from UnivariateTaylorSeriesCategory Coef
- ^: (%, Fraction Integer) -> % if Coef has Algebra Fraction Integer
from RadicalCategory
- ^: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- ^: (%, PositiveInteger) -> %
from Magma
- annihilate?: (%, %) -> Boolean
from Rng
- antiCommutator: (%, %) -> %
- approximate: (%, NonNegativeInteger) -> Coef if Coef has coerce: Symbol -> Coef and Coef has ^: (Coef, NonNegativeInteger) -> Coef
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- associates?: (%, %) -> Boolean if Coef has IntegralDomain
from EntireRing
- associator: (%, %, %) -> %
from NonAssociativeRng
- center: % -> Coef
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- characteristic: () -> NonNegativeInteger
from NonAssociativeRing
- charthRoot: % -> Union(%, failed) if Coef has CharacteristicNonZero
- coefficient: (%, NonNegativeInteger) -> Coef
from AbelianMonoidRing(Coef, NonNegativeInteger)
- coefficients: % -> Stream Coef
from UnivariateTaylorSeriesCategory Coef
- coerce: % -> % if Coef has CommutativeRing
from Algebra %
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- coerce: Coef -> % if Coef has CommutativeRing
from Algebra Coef
- coerce: Fraction Integer -> % if Coef has Algebra Fraction Integer
- coerce: Integer -> %
from NonAssociativeRing
- coerce: UnivariatePolynomial(var, Coef) -> %
coerce(p)
converts a univariate polynomialp
in the variablevar
to a univariate Taylor series invar
.
- coerce: Variable var -> %
coerce(var)
converts the series variablevar
into a Taylor series.
- commutator: (%, %) -> %
from NonAssociativeRng
- complete: % -> %
from PowerSeriesCategory(Coef, NonNegativeInteger, SingletonAsOrderedSet)
- construct: List Record(k: NonNegativeInteger, c: Coef) -> %
from IndexedProductCategory(Coef, NonNegativeInteger)
- constructOrdered: List Record(k: NonNegativeInteger, c: Coef) -> %
from IndexedProductCategory(Coef, NonNegativeInteger)
- D: % -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef
from DifferentialRing
- D: (%, List Symbol) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
- D: (%, List Symbol, List NonNegativeInteger) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
- D: (%, NonNegativeInteger) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef
from DifferentialRing
- D: (%, Symbol) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
- D: (%, Symbol, NonNegativeInteger) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
- degree: % -> NonNegativeInteger
from PowerSeriesCategory(Coef, NonNegativeInteger, SingletonAsOrderedSet)
- differentiate: % -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef
from DifferentialRing
- differentiate: (%, List Symbol) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
- differentiate: (%, List Symbol, List NonNegativeInteger) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
- differentiate: (%, NonNegativeInteger) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef
from DifferentialRing
- differentiate: (%, Symbol) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
- differentiate: (%, Symbol, NonNegativeInteger) -> % if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
- differentiate: (%, Variable var) -> %
differentiate(f(x), x)
computes the derivative off(x)
with respect tox
.
- elt: (%, %) -> %
from Eltable(%, %)
- elt: (%, NonNegativeInteger) -> Coef
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- eval: (%, Coef) -> Stream Coef if Coef has ^: (Coef, NonNegativeInteger) -> Coef
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- evenlambert: % -> %
evenlambert(f(x))
returnsf(x^2) + f(x^4) + f(x^6) + ...
.f(x)
should have a zero constant coefficient. This function is used for computing infinite products. Iff(x)
is a Taylor series with constant term 1, thenproduct(n=1..infinity, f(x^(2*n))) = exp(evenlambert(log(f(x))))
.
- exquo: (%, %) -> Union(%, failed) if Coef has IntegralDomain
from EntireRing
- extend: (%, NonNegativeInteger) -> %
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- generalLambert: (%, Integer, Integer) -> %
generalLambert(f(x), a, d)
returnsf(x^a) + f(x^(a + d)) + f(x^(a + 2 d)) + ... . f(x) should have zero constant
coefficient anda
andd
should be positive.
- integrate: % -> % if Coef has Algebra Fraction Integer
from UnivariateSeriesWithRationalExponents(Coef, NonNegativeInteger)
- integrate: (%, Symbol) -> % if Coef has Algebra Fraction Integer and Coef has integrate: (Coef, Symbol) -> Coef and Coef has variables: Coef -> List Symbol
from UnivariateSeriesWithRationalExponents(Coef, NonNegativeInteger)
- integrate: (%, Variable var) -> % if Coef has Algebra Fraction Integer
integrate(f(x), x)
returns an anti-derivative of the power seriesf(x)
with constant coefficient 0. We may integrate a series when we can divide coefficients by integers.
- invmultisect: (Integer, Integer, %) -> %
invmultisect(a, b, f(x))
substitutesx^((a+b)*n)
forx^n
and multiples byx^b
.
- lagrange: % -> %
lagrange(g(x))
produces the Taylor series forf(x)
wheref(x)
is implicitly defined asf(x) = x*g(f(x))
.
- lambert: % -> %
lambert(f(x))
returnsf(x) + f(x^2) + f(x^3) + ...
.f(x)
should have zero constant coefficient. This function is used for computing infinite products. Iff(x)
is a Taylor series with constant term 1, thenproduct(n = 1..infinity, f(x^n)) = exp(lambert(log(f(x))))
.
- latex: % -> String
from SetCategory
- leadingCoefficient: % -> Coef
from PowerSeriesCategory(Coef, NonNegativeInteger, SingletonAsOrderedSet)
- leadingMonomial: % -> %
from PowerSeriesCategory(Coef, NonNegativeInteger, SingletonAsOrderedSet)
- leadingSupport: % -> NonNegativeInteger
from IndexedProductCategory(Coef, NonNegativeInteger)
- leadingTerm: % -> Record(k: NonNegativeInteger, c: Coef)
from IndexedProductCategory(Coef, NonNegativeInteger)
- leftPower: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- leftPower: (%, PositiveInteger) -> %
from Magma
- leftRecip: % -> Union(%, failed)
from MagmaWithUnit
- map: (Coef -> Coef, %) -> %
from IndexedProductCategory(Coef, NonNegativeInteger)
- monomial?: % -> Boolean
from IndexedProductCategory(Coef, NonNegativeInteger)
- monomial: (Coef, NonNegativeInteger) -> %
from IndexedProductCategory(Coef, NonNegativeInteger)
- multiplyCoefficients: (Integer -> Coef, %) -> %
from UnivariateTaylorSeriesCategory Coef
- multiplyExponents: (%, PositiveInteger) -> %
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- multisect: (Integer, Integer, %) -> %
multisect(a, b, f(x))
selects the coefficients ofx^((a+b)*n+a)
, and changes this monomial tox^n
.
- oddlambert: % -> %
oddlambert(f(x))
returnsf(x) + f(x^3) + f(x^5) + ...
.f(x)
should have a zero constant coefficient. This function is used for computing infinite products. Iff(x)
is a Taylor series with constant term 1, thenproduct(n=1..infinity, f(x^(2*n-1)))=exp(oddlambert(log(f(x))))
.
- one?: % -> Boolean
from MagmaWithUnit
- opposite?: (%, %) -> Boolean
from AbelianMonoid
- order: % -> NonNegativeInteger
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- order: (%, NonNegativeInteger) -> NonNegativeInteger
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- plenaryPower: (%, PositiveInteger) -> % if Coef has CommutativeRing or Coef has Algebra Fraction Integer
from NonAssociativeAlgebra Coef
- pole?: % -> Boolean
from PowerSeriesCategory(Coef, NonNegativeInteger, SingletonAsOrderedSet)
- polynomial: (%, NonNegativeInteger) -> Polynomial Coef
from UnivariateTaylorSeriesCategory Coef
- polynomial: (%, NonNegativeInteger, NonNegativeInteger) -> Polynomial Coef
from UnivariateTaylorSeriesCategory Coef
- quoByVar: % -> %
from UnivariateTaylorSeriesCategory Coef
- recip: % -> Union(%, failed)
from MagmaWithUnit
- reductum: % -> %
from IndexedProductCategory(Coef, NonNegativeInteger)
- revert: % -> %
revert(f(x))
returns a Taylor seriesg(x)
such thatf(g(x)) = g(f(x)) = x
. Seriesf(x)
should have constant coefficient 0 and invertible 1st order coefficient.
- rightPower: (%, NonNegativeInteger) -> %
from MagmaWithUnit
- rightPower: (%, PositiveInteger) -> %
from Magma
- rightRecip: % -> Union(%, failed)
from MagmaWithUnit
- sample: %
from AbelianMonoid
- series: Stream Coef -> %
from UnivariateTaylorSeriesCategory Coef
- series: Stream Record(k: NonNegativeInteger, c: Coef) -> %
from UnivariateTaylorSeriesCategory Coef
- sqrt: % -> % if Coef has Algebra Fraction Integer
from RadicalCategory
- subtractIfCan: (%, %) -> Union(%, failed)
- terms: % -> Stream Record(k: NonNegativeInteger, c: Coef)
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- truncate: (%, NonNegativeInteger) -> %
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- truncate: (%, NonNegativeInteger, NonNegativeInteger) -> %
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- unit?: % -> Boolean if Coef has IntegralDomain
from EntireRing
- unitCanonical: % -> % if Coef has IntegralDomain
from EntireRing
- unitNormal: % -> Record(unit: %, canonical: %, associate: %) if Coef has IntegralDomain
from EntireRing
- univariatePolynomial: (%, NonNegativeInteger) -> UnivariatePolynomial(var, Coef)
univariatePolynomial(f, k)
returns a univariate polynomial consisting of the sum of all terms off
of degree<= k
.
- variable: % -> Symbol
from UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
- zero?: % -> Boolean
from AbelianMonoid
AbelianMonoidRing(Coef, NonNegativeInteger)
Algebra % if Coef has CommutativeRing
Algebra Coef if Coef has CommutativeRing
Algebra Fraction Integer if Coef has Algebra Fraction Integer
ArcHyperbolicFunctionCategory if Coef has Algebra Fraction Integer
ArcTrigonometricFunctionCategory if Coef has Algebra Fraction Integer
BiModule(%, %)
BiModule(Coef, Coef)
BiModule(Fraction Integer, Fraction Integer) if Coef has Algebra Fraction Integer
CharacteristicNonZero if Coef has CharacteristicNonZero
CharacteristicZero if Coef has CharacteristicZero
CommutativeRing if Coef has CommutativeRing
CommutativeStar if Coef has CommutativeRing
DifferentialRing if Coef has *: (NonNegativeInteger, Coef) -> Coef
ElementaryFunctionCategory if Coef has Algebra Fraction Integer
Eltable(%, %)
EntireRing if Coef has IntegralDomain
HyperbolicFunctionCategory if Coef has Algebra Fraction Integer
IndexedProductCategory(Coef, NonNegativeInteger)
IntegralDomain if Coef has IntegralDomain
LeftModule Coef
LeftModule Fraction Integer if Coef has Algebra Fraction Integer
Module % if Coef has CommutativeRing
Module Coef if Coef has CommutativeRing
Module Fraction Integer if Coef has Algebra Fraction Integer
NonAssociativeAlgebra % if Coef has CommutativeRing
NonAssociativeAlgebra Coef if Coef has CommutativeRing
NonAssociativeAlgebra Fraction Integer if Coef has Algebra Fraction Integer
noZeroDivisors if Coef has IntegralDomain
PartialDifferentialRing Symbol if Coef has *: (NonNegativeInteger, Coef) -> Coef and Coef has PartialDifferentialRing Symbol
PowerSeriesCategory(Coef, NonNegativeInteger, SingletonAsOrderedSet)
RadicalCategory if Coef has Algebra Fraction Integer
RightModule Coef
RightModule Fraction Integer if Coef has Algebra Fraction Integer
TranscendentalFunctionCategory if Coef has Algebra Fraction Integer
TrigonometricFunctionCategory if Coef has Algebra Fraction Integer
TwoSidedRecip if Coef has CommutativeRing
UnivariatePowerSeriesCategory(Coef, NonNegativeInteger)
UnivariateSeriesWithRationalExponents(Coef, NonNegativeInteger)