Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
padic[ordp] - the order of a p-adic number
padic[valuep] - the p-adic valuation of a p-adic number
Calling Sequence
ordp(a, p)
ordp(a)
valuep(a, p)
valuep(a)
Parameters
a
-
rational number (2-argument case) or p-adic number (1-argument case)
p
prime number or positive integer
Description
The ordp command computes the p-adic order of the p-adic number a (evalp(a, p) in the 2-argument case), which is the degree of the leading term.
The valuep command computes the p-adic valuation of the p-adic number a (evalp(a, p) in the 2-argument case), which is 1/p^ordp(a).
For an explanation of the representation of p-adic numbers in Maple, see padic[evalp].
Examples
See Also
padic, padic[evalp]
Download Help Document