ordp - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


padic

  

ordp

  

the order of a p-adic number

  

valuep

  

the p-adic valuation of a p-adic number

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ordp(a, p)

ordp(a)

valuep(a, p)

valuep(a)

Parameters

a

-

rational number (2-argument case) or p-adic number (1-argument case)

p

-

prime number or positive integer greater than 1

Description

• 

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].

Examples

withpadic:

a234234234975

a234234234975

(1)

ordpa,5

2

(2)

evalpa,5,7

452+453+56+357+O58

(3)

aevalpa,5

a452+453+56+357+458+259+2511+4512+513+3514+2515+516

(4)

bevalp1a2,5

b45−4+45−3+25−2+45−1+4+25+453

(5)

ordpa

2

(6)

ordpb

−4

(7)

ordpab,5

−2

(8)

valuepab

52

(9)

valuepab,5

5-6

(10)

ordpxy2,5

ordpy2+x,5

(11)

valuepxy2,5

valuepxy2,5

(12)

See Also

padic

padic[evalp]