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
range 型の式
説明
expr .. expr
range (type とも呼ばれます) 型の式には、左辺の式と右辺の式という 2 種類のオペランドがあります。
range が示す範囲は、関係演算子のプレースホルダと同様に機能するバイナリ演算子 を使用して対外的に表現されます。たとえば、範囲 は、数列 1, 2, 3 の式と等価ではありませんが、列の演算子 $ を使用して の形式にすると等価になります。
3 つ以上ドットを続けた場合でも、範囲演算子 () と解析されます。
連結演算子と組み合わせて式の列を作成する場合にも範囲の構造が使用できます。この場合、cat(name, (range)) の形式を使用しますが、この range に入るオペランドは整数にする必要があります。結果は、name に入るオペランドと指定範囲の各整数を連結して形成された名前で成り立つ式の列になります。
(), {}, [], または <> 内の範囲は、開始値も終了値もなく解析される場合があります。文字通りであれば A[..] は A[NULL..NULL] と解釈されますが、A が Array, list, set, sequence, または string の場合、A[..] は 全範囲のデータと解釈されます。同様に、A[..n] は A 内で初出の n 個の要素を表し、A[n..] は n から始まり A で終わるまでのデータ範囲を表します。
例
参照
concatenation, evalr, plot[range], selection, type[range]
Download Help Document