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
LinearAlgebra[CrossProduct] - 2 つのベクトルの外積の計算
LinearAlgebra[`&x`] - 2 つのベクトルの外積の計算
使い方
CrossProduct(U, V, outopts) U &x V
パラメータ
U, V - 3 次元ベクトル
outopts - (オプション) outputoptions=list の形をした等式; 結果として得られるオブジェクトのコンストラクタオプション
説明
CrossProduct(U, V) 関数は、ベクトル U と V の外積を計算します。
このコマンドは、また、&xを挿入した表記 U &x V を用いて入力することもできます。この場合、追加のパラメータは提供されません。
W := CrossProduct(U, V) のとき、 W は以下の成分を持つベクトルです。
[U[2]*V[3]-U[3]*V[2], U[3]*V[1]-U[1]*V[3], U[1]*V[2]-U[2]*V[1]]
U と V がどちらも行ベクトルのとき、それらの外積も行ベクトルになります。そうでないときは、列ベクトルが返されます。
outputoptions オプション (outopts) は、結果を作成する Vector コンストラクタに付加情報 (readonly, shape, storage, order, datatype, attributes) を与えます。
この関数は LinearAlgebra パッケージの一部ですから、 with(LinearAlgebra) を実行した後にのみ CrossProduct(..) の形で使うことができます。ただし、長い形の名前 LinearAlgebra[CrossProduct](..) を使えばいつでもアクセスすることができます。
例
with(LinearAlgebra): V1 := <1,2,3>;
V2 := <2,3,4>;
CrossProduct(V1, V2);
V1 &x V2;
CrossProduct(V1, V2, outputoptions=[datatype=float]);
参照
LinearAlgebra[DotProduct], LinearAlgebra[BilinearForm], Vector
Download Help Document