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[expansion] - p-adic expansion
Calling Sequence
expansion(ex, p, x, s)
expansion(ex, p, x)
Parameters
ex
-
rational function
p
irreducible (or square-free) polynomial or 1/x (or infinity)
x
independent variable
s
(optional) a positive integer
Description
This function computes the p-adic expansion of a rational function ex.
The parameter s sets the size of the resulting expression, where "size" means the number of terms of the p-adic expansion which will be printed. If omitted, it defaults to number 6.
A p-adic expansion is represented in Maple using the unevaluated function call PADIC() whose argument is another unevaluated function of the form p_adic() which has three arguments. The first argument is the polynomial p or 1/x. The second argument is the p-adic order at p. The third argument is the list of coefficients. For example,
represents the p-adic expansion
The print routine print/PADIC is used by the prettyprinter to format the p-adic expansion on screen.
The command with(padic,expansion) allows the use of the abbreviated form of this command.
Examples
See Also
padic, padic/functions, padic[lcoeffp], padic[orderp]
Download Help Document