Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
LinearAlgebra[ZeroMatrix] - 零行列の作成
LinearAlgebra[ZeroVector] - 零ベクトルの作成
使い方
ZeroMatrix(r, c, cpt, outopts)
ZeroVector[o](d, cpt, outopts)
パラメータ
r - (オプション) 非負整数; 結果として生じる行列の行次元
c - (オプション) 非負整数; 結果として生じる行列の列次元
d - (オプション) 非負整数; 結果として生じるベクトルの次元
cpt - (オプション) BooleanOpt(compact); compact 形式の出力を選択
outopts - (オプション) outputoptions=list の形をした等式; 結果として得られるオブジェクトのコンストラクタオプション
[o] - (オプション) 結果として生じるベクトルの向きを指定するために [row] (行)かまたは [column] (列)のどちらか一方を用いる
説明
ZeroMatrix(r, c) 関数は成分のすべてが 0 である r x c 行列を返します。
行次元が与えられなければ、デフォルトで 0 になります。列次元が与えられなければ、デフォルトで行次元になります。
ZeroVector(d) 関数は成分のすべてが 0 である d 次元ベクトルを返します。
ZeroVector[row](d)関数は行ベクトルが返されることを除いて、 ZeroVector(d) と同じように働きます。向きオプションが省略されるか、ZeroVector[column](d) が使われたならば、列ベクトルが返されます。
次元が与えられなければ、デフォルトで 0 になります。
compact オプション (cpt) が省略されるか、または、呼び出し手順の中に単に記号として compact または compact=true の形で含まれているならば、結果はストレージを極小化するために設計された shape 関数を用いることにより構成されます。オプションが compact=false と入力されると、フルな長方行列が作成されます。
outputoptions オプション (outopts) は結果を作成する Matrix (または Vector) コンストラクタに追加情報 (readonly, shape, storage, order, datatype, attributes) を与えます。
shape の値が outopts パラメータに与えられなければ、結果として生じるオブジェクトの shape は compact オプションによって決定されます。 一方、指定された shape を持つ結果は行列(またはベクトル)コンストラクタへ fill パラメータを経てすべての成分を 0 に設定されて作成されます。
readonly=false が outopts パラメータに含まれていると、それはデフォルトの shape (zero) が outopts の中に可変の shape も含まれていることによりくつがえされない限り無視されます。
この関数は LinearAlgebra パッケージの一部ですから、コマンド with(LinearAlgebra) を実行した後にのみ ZeroMatrix(..) の形で使うことができます。ただし、長い形の名前 LinearAlgebra[ZeroMatrix](..) を使えばいつでもアクセスすることができます。
例
with(LinearAlgebra): ZeroMatrix(4);
MatrixOptions(%, shape);
ZeroMatrix(2, compact=false);
ZeroVector[row](4, outputoptions=[datatype=float]);
参照
Matrix, Vector
Download Help Document