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[evalp] - p-adic evaluation
Calling Sequence
evalp(ex, p, s)
evalp(ex, p)
evalp(ex)
Parameters
ex
-
expression of rational numbers and/or p-adic numbers
p
(optional) prime number or positive integer
s
(optional) positive integer
Description
This function computes the p-adic value of the expression ex.
The parameter s sets the size of the resulting expression, where "size" means the number of terms of the p-adic number which will be printed. If omitted, it defaults to the value of the global variable Digitsp, which is initially assigned the value 10.
The expression ex can contain any of the operations +, -, *, /, ^, and any of the functions defined in the padic package. See padic/functions.
If the second and third arguments are omitted, then the expression ex must be a p-adic number.
If the result of the computation is not convergent in the p-adic field, then the routine returns FAIL.
A p-adic number x is represented in Maple using the unevaluated function call PADIC() whose argument is another unevaluated function call of the form p_adic(pp, s, l) where pp is the prime p, s is the p-adic order of x, and l is the list of coefficients. For example,
represents the p-adic number
The print routine print/PADIC is used by the prettyprinter to format the p-adic number on screen.
The command with(padic,evalp) allows the use of the abbreviated form of this command.
Examples
See Also
padic, padic/functions, padic[ordp], padic[ratvaluep], padic[rootp]
Download Help Document