Macaulay2 » Documentation
Packages » A1BrouwerDegrees :: getPadicValuation
next | previous | forward | backward | up | index | toc

getPadicValuation -- p-adic valuation of a rational number

Description

i1 : a = 363/7;
i2 : getPadicValuation(a, 11)

o2 = 2

Ways to use getPadicValuation:

  • getPadicValuation(QQ,ZZ)
  • getPadicValuation(ZZ,ZZ)

For the programmer

The object getPadicValuation is a method function.


The source of this document is in A1BrouwerDegrees/Documentation/ArithmeticMethodsDoc.m2:17:0.