ratvaluep - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

padic

  

ratvaluep

  

compute the sum of the first n terms of a p-adic number

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ratvaluep(ex, n)

Parameters

ex

-

p-adic number or rational number

n

-

positive integer

Description

• 

The function ratvaluep returns a rational number which is the sum of the first n terms of the p-adic number ex. If ex is a rational number then it returns ex itself.

• 

See padic[evalp] for an explanation of the representation of p-adic numbers in Maple.

• 

The command with(padic,ratvaluep) allows the use of the abbreviated form of this command.

Examples

withpadic:

f75x3+3x2+8x+3

f75x3+3x2+8x+3

(1)

Digitsp13

Digitsp13

(2)

arootpf,5

a45−2+45−1+25+352+354+355+56+357+458+259+O510

(3)

ratvaluepa,10

653339925

(4)

See Also

padic

padic/functions

padic[evalp]

padic[ordp]

padic[rootp]

 


Download Help Document