p) |
characteristic,
is_field,
name,
prec,
prime,
print_prec,
random,
residue_characteristic,
residue_class_field,
series_print
Further documentation:
) |
sage: K = Qp(7) sage: K.characteristic() 0
) |
sage: K = Qp(7) sage: K.is_field() True
) |
sage: K = Qp(7) sage: K.prime() 7
[n=None]) |
If you call print_prec(n), then printing of elements in this
p-adic field is truncated at
. Calling print_prec() with
no arguments returns n. This command only affects printing,
and does not alter the actual values of elements of this field.
[prec=10]) |
) |
sage: K = Qp(7) sage: K.residue_characteristic() 7
) |
sage: K = Qp(3) sage: K.residue_class_field() Ring of integers modulo 3
Instances of class pAdicField also have the following special functions:
__call__,
__cmp__