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
ispoly - test for a polynomial of a particular degree
Calling Sequence
ispoly(f, kind, x)
ispoly(f, kind, x, 'a0', 'a1',..., 'an')
ispoly(f, n, x)
ispoly(f, n, x, 'a0', 'a1',..., 'an')
Parameters
f
-
any expression
kind
one of linear, quadratic, cubic, or quartic
x
name
n
positive integer
a0, a1, ...
(optional) names to be assigned the coefficients
Description
The ispoly function returns true if the input expression f is a polynomial of exactly degree n in the variable x, and false otherwise. If successful, it assigns the remaining (optional) arguments the coefficients of degree 0, 1, ..., n.
Note, unlike the type function (with the linear, quadratic, cubic, or quartic option) in Maple, the ispoly function ensures that the coefficient of degree n is non-zero.
The second argument may be one of the keywords linear, quadratic, cubic, or quartic which can be used instead of integers 1, 2, 3, 4, respectively.
Examples
See Also
type/linear
Download Help Document