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
type/numeric - オブジェクトが型 numeric であるかチェック
type/extended_numeric - オブジェクトが型 extended_numeric であるかチェック
使い方
type(x, numeric)
type(x, extended_numeric)
パラメータ
x - 任意の式
説明
type(x,numeric) 関数は x が有限の integer (整数)、fraction (分数)、floating-point number (浮動小数点数) のいずれかのとき true を返します。
type(x,extended_numeric) 関数は x が numeric, infinity, -infinity, undefined のいずれかのとき true を返します。
注意: Float(infinity) と Float(undefined) は(型 float を持つので)型 extended_numeric を持ちます。
例
type(1,numeric);
type(1/2,numeric);
type(.5,numeric);
type(Name,numeric);
type(a/b,numeric);
type(infinity,extended_numeric);
参照
infinity, undefined, type[integer], type[fraction], type[rational], type[float], type[finite], type[infinity], type[undefined]
Download Help Document