t = adicTruncation(p, e, r)
T = adicTruncation(p, e, L)
This function computes the $e^{th}$ truncation of the unique non-terminating $p$-adic expansion of a positive rational number $r$.
|
|
|
If $r = 0$, adicTruncation returns zero.
|
If a list $L$ of nonnegative rational numbers is passed, adicTruncation(p, e, L) returns a list containing the $e^{th}$ truncations (base $p$) of those numbers.
|
The object adicTruncation is a method function.