TangentExpansions RΒΆ
efstruc.spad line 28 [edit on github]
R: Field
Expands tangents of sums and scalar products.
- tanAn: (R, PositiveInteger) -> SparseUnivariatePolynomial R
tanAn(a, n)
returnsP(x)
such that ifa = tan(u)
thenP(tan(u/n)) = 0
.
- tanNa: (R, Integer) -> R
tanNa(a, n)
returnsf(a)
such that ifa = tan(u)
thenf(a) = tan(n * u)
.
- tanSum: List R -> R
tanSum([a1, ..., an])
returnsf(a1, ..., an)
such that ifai = tan(ui)
thenf(a1, ..., an) = tan(u1 + ... + un)
.