Next: Vectors, Previous: Introduction to Matrices and Linear Algebra, Up: Introduction to Matrices and Linear Algebra [Contents][Index]
演算子.は、非可換乗算とスカラー積を表します。
オペランドが、1列行列または1行行列aとbの時、
式a.bは、sum (a[i]*b[i], i, 1, length(a))と同値です。
もしaとbが複素数でないなら、これはスカラー積であり、
aとbの内積すなわちドット積もコールされます。
aとbが複素数の時、スカラー積は
conjugate(a).bとして定義されます;
eigenパッケージのinnerproductは、複素スカラー積を供給します。
オペランドがもっと一般的な行列の時、
積は、aとbの行列積です。
bの行数は、aの列数と等しくなければいけなく、
結果は、aの行数と等しい行数と
bの列数と等しい列数を持ちます。
.を算術演算子として
浮動小数点数の小数点と区別するために、
どちらかの側にスペースを残す必要があるかもしれません。
例えば、5.e3は5000.0ですが、5 . e3は5掛けるe3です。
.を含む式の整理を支配する
いくつかのフラグがあります。
すなわち、dot0nscsimp, dot0simp, dot1simp, dotassoc, 
dotconstrules, dotdistrib, dotexptsimp, dotident,
 dotscrules。
Next: Vectors, Previous: Introduction to Matrices and Linear Algebra, Up: Introduction to Matrices and Linear Algebra [Contents][Index]