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
member - 集合、リスト、関数、またはモジュールに属するかどうかの判定
使い方
member(x, s, 'p')
パラメータ
x - 数式
s - 集合、リスト、関数、またはモジュール
'p' - (オプション) 未評価の名前
説明
関数 member は、x が集合、リスト、関数、またはモジュール s の要素かどうかを判定します。そうであれば true を、そうでなければ false を返します。
3 番目の引数 'p' が与えられ、member が true を返す場合には、s が集合、リスト、および関数であると、s に現れる最初の x の位置が p に割り当てられます。一方、同じ場合に s がモジュールであると、構成要素の実体が名前 p に割り当てられます。
例
member(y, {x, y, z});
member(y, {x*y, y*z});
member(x*y, [x*y, w+u, y]);
member(w, [x, y, w, u], 'k');
k;
member(v, f(u, v, w), 'k');
m := module() export e; end module: member(e, m);
member(e, m, 'p'): p;
member(f, m);
参照
function, has, in, リスト, membertype, モジュール, 集合
Download Help Document