padic[ratvaluep] - compute the sum of the first n terms of a p-adic number
|
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
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?