Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.0 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Elementary Functions > matrixoperations > kron

kron

クロネッカー積 (.*.)

呼び出し手順

kron(A,B)
A.*.B

説明

kron(A,B) または A.*.B は 2つの行列A および Bのクロネッカーテンソル積を返します. 結果の行列は以下のようなブロック形式となります:

Am x n 行列で Bp 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

履歴

バージョン記述
5.5.1

Extension to hypermatrices

Report an issue
<< cumsum matrixoperations max >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:10:27 CET 2017