AlgebraicManipulations(R, F)ΒΆ
manip.spad line 198 [edit on github]
F: Join(Field, ExpressionSpace) with
coerce: SparseMultivariatePolynomial(R, Kernel %) -> %
denom: % -> SparseMultivariatePolynomial(R, Kernel %)
numer: % -> SparseMultivariatePolynomial(R, Kernel %)
AlgebraicManipulations provides functions to simplify and expand expressions involving algebraic operators.
- ratDenom: (F, F) -> F
ratDenom(f, a)
removesa
from the denominators inf
ifa
is an algebraic kernel.
- ratDenom: (F, List F) -> F
ratDenom(f, [a1, ..., an])
removes theai
's
which are algebraic kernels from the denominators inf
.
- ratDenom: (F, List Kernel F) -> F
ratDenom(f, [a1, ..., an])
removes theai
's
which are algebraic from the denominators inf
.
- ratDenom: F -> F
ratDenom(f)
rationalizes the denominators appearing inf
by moving all the algebraic quantities into the numerators.
- ratPoly: F -> SparseUnivariatePolynomial F
ratPoly(f)
returns a polynomialp
such thatp
has no algebraic coefficients, andp(f) = 0
.
- rootFactor: F -> F if R has GcdDomain and F has FunctionSpace R and R has UniqueFactorizationDomain and R has Comparable and R has RetractableTo Integer
rootFactor(f)
transforms every radical of the form(a1*...*am)^(1/n)
appearing inf
intoa^(1/n)*...*am^(1/n)
. This transformation is not in general valid for all complex numbersa
andb
.
- rootKerSimp: (BasicOperator, F, NonNegativeInteger) -> F if R has GcdDomain and R has Comparable and R has RetractableTo Integer and F has FunctionSpace R
rootKerSimp(op, f, n)
should be local but conditional.
- rootPower: F -> F if R has GcdDomain and R has Comparable and R has RetractableTo Integer and F has FunctionSpace R
rootPower(f)
transforms every radical power of the form(a^(1/n))^m
into a simpler form ifm
andn
have a common factor.
- rootProduct: F -> F if R has GcdDomain and R has Comparable and R has RetractableTo Integer and F has FunctionSpace R
rootProduct(f)
combines every product of the form(a^(1/n))^m * (a^(1/s))^t
into a single power of a root ofa
, and transforms every radical power of the form(a^(1/n))^m
into a simpler form.
- rootSimp: F -> F if R has GcdDomain and R has Comparable and R has RetractableTo Integer and F has FunctionSpace R
rootSimp(f)
transforms every radical of the form(a * b^(q*n+r))^(1/n)
appearing inf
intob^q * (a * b^r)^(1/n)
. This transformation is not in general valid for all complex numbersb
.
- rootSplit: F -> F
rootSplit(f)
transforms every radical of the form(a/b)^(1/n)
appearing inf
intoa^(1/n) / b^(1/n)
. This transformation is not in general valid for all complex numbersa
andb
.