manip.spad line 1 [edit on github]
computes various functions on factored arguments.
log(f)
returns [(a1, b1), ..., (am, bm)]
such that the logarithm of f
is equal to a1*log(b1) + ... + am*log(bm)
.
nthRoot(f, n)
returns (p, r, [r1, ..., rm])
such that the n
th-root of f
is equal to r *
, where p
th-root(r1 * ... * rm)r1
, ..., rm
are distinct factors of f
, each of which has an exponent smaller than p
in f
.