padic
ordp
the order of a p-adic number
valuep
the p-adic valuation of a p-adic number
Calling Sequence
Parameters
Description
Examples
ordp(a, p)
ordp(a)
valuep(a, p)
valuep(a)
a
-
rational number (2-argument case) or p-adic number (1-argument case)
p
prime number or positive integer greater than
The ordp command computes the p-adic order of the p-adic number a (evalp(a, p) in the 2-argument case), which is the degree of the leading term.
The valuep command computes the p-adic valuation of the p-adic number a (evalp(a, p) in the 2-argument case), which is 1/p^ordp(a).
For an explanation of the representation of p-adic numbers in Maple, see padic[evalp].
See Also
padic[evalp]
Download Help Document