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
ベクトル
説明
Maple では、ベクトル (vector) は 1 で始まる添字を持つ 1 次元配列として表現されます。
ベクトルは、1 次元配列として直接入力するか、またはパッケージ linear algebra 内のvector コマンドを使って入力できます。たとえば、array([1,x,x^2]) は長さ 3 の ベクトルを生成します。より詳しいことについては配列および linalg[vector] を参照して下さい。
ベクトル U の 第 i 成分は、添字記号 U[i] を使ってアクセスしたり割り当てたりできます。たとえば、U[i] := 1/V[i] は ベクトル U の 第 i 成分をベクトル V の第 i 成分の逆数に割り当てます。
パッケージ linalg (linear algebra) はたくさんのベクトル操作が含まれています。これ以上の情報については linalg を参照して下さい。
ベクトルの各成分にある関数を施すのに、map 関数を使うことができます。たとえば、map(simplify,V) はベクトル V の各成分を簡単化し、また map(diff,V,x) はベクトル V の各成分を x に関して微分します。より詳しいことについては map を参照して下さい。
ベクトルであるか判定するには type[vector] を参照して下さい。たとえば type(A,'vector(integer)') は整数のベクトルかどうかを判定します。
注意: Maple のオンライン文書では、vector (小文字の "v") はlinalg パッケージ内のルーチンで使われる array (配列)に基づく vector を指し、Vector (大文字 "V") は LinearAlgebra パッケージ内のルーチンで使われる rtable に基づく Vector を指す約束です。Maple における線形代数の計算に関するより多くの情報については LA_general を参照して下さい。
例
linalg[vector](4,[1,x,x^2,x^3]);
array(1..3,[1,2,3]);
type(%,vector);
array(0..2,[a,b,c]): type(%,vector);
参照
Array, Matrix, Vector, type[vector], array, matrix, linalg, evalm, map, print, type, plots[arrow]
Download Help Document