[back] [prev] [next] [index] [root]
d := Valuation( [P,] a); SHOTDOC Computes the valuation of the argument at a prime (if possible).
integer | d |
|
ideal | integer | alff order ideal | P |
must be prime. |
ideal | algebraic element | integer | a |
to valuate. |
alff order ideal | a |
to valuate. |
kash> O := OrderMaximal(Order(Z, 2, 3)); Generating polynomial: x^2 - 3 Discriminant: 12 kash> L := Factor(2*O); [ [ <2, [1, 1]>, 2 ] ] kash> P := L[1][1]; <2, [1, 1]> kash> Valuation(P, Elt(O, 2)); 2 kash> Valuation(P, Elt(O, [1, 1])); > 1
<- back[back] [prev] [next] [index] [root]