Scilab 6.0.1
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
kron
クロネッカー積 (.*.)
呼び出し手順
kron(A,B) A.*.B
説明
kron(A,B) または A.*.B は
2つの行列A および
Bのクロネッカーテンソル積を返します.
結果の行列は以下のようなブロック形式となります:

Aが m x n 行列で
B が p x q 行列の場合,
A.*.B は (m*p) x (n*q)
行列となります.
A および B は疎行列とすることも
できます.
例
A = [1,2;3,4]; kron(A,A) A.*.A sparse(A).*.sparse(A) A(1,1) = %i; kron(A,A) // With hypermatrices // ------------------ b = matrix(1:24, [4 3 2]); // row .*. hypermat clc a = 1:2, b a.*.b // hypermat .*. row clc b,a b .*. a // column .*. hypermat clc a = [1;2], b a.*.b // matrix .*. hypermat clc a = [-1 -2; 2 1], b a.*.b // hypermat .*. hypermat clc a = matrix([-1,-2, 1 2], [1 2 2]), b a.*.b
履歴
| Version | Description |
| 5.5.1 | Extension to hypermatrices |
| Report an issue | ||
| << cumsum | matrixoperations | max >> |