MonomialExtensionTools(F, UP)ΒΆ
intrf.spad line 109 [edit on github]
F: Field
Tools for handling monomial extensions.
- decompose: (Fraction UP, UP -> UP) -> Record(poly: UP, normal: Fraction UP, special: Fraction UP)
decompose(f, D)
returns[p, n, s]
such thatf = p+n+s
, all the squarefree factors ofdenom(n)
are normalw
.r
.t
.D
,denom(s)
is specialw
.r
.t
.D
, andn
ands
are proper fractions (no pole at infinity).D
is the derivation to use.
- normalDenom: (Fraction UP, UP -> UP) -> UP
normalDenom(f, D)
returns the product of all the normal factors ofdenom(f)
.D
is the derivation to use.
- split: (UP, UP -> UP) -> Record(normal: UP, special: UP)
split(p, D)
returns[n, s]
such thatp = n s
, all the squarefree factors ofn
are normalw
.r
.t
.D
, ands
is specialw
.r
.t
.D
.D
is the derivation to use.
- splitSquarefree: (UP, UP -> UP) -> Record(normal: Factored UP, special: Factored UP)
splitSquarefree(p, D)
returns[n_1 n_2\^2 ... n_m\^m, s_1 s_2\^2 ... s_q\^q]
such thatp = n_1 n_2\^2 ... n_m\^m s_1 s_2\^2 ... s_q\^q
, eachn_i
is normalw
.r
.t
.D
and eachs_i
is specialw
.r
.t
D
.D
is the derivation to use.