Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Português

Change language to:
English - Français - 日本語 - Русский

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

Ajuda do Scilab >> Funções Elementares > Matrix operations > kron

kron

produto de Kronecker (.*.)

Seqüência de Chamamento

kron(A,B)
A.*.B

Descrição

kron(A,B) ou A.*.B retorna o produto tensorial de Kronecker entre duas matrizes ou hypermatrizes A e B. A matriz resultante tem a seguinte forma de blocos:

Se A é uma matriz m x n e B é uma hypermatriz p x q x r , então A.*.B é uma hypermatriz (m*p) x (n*q) x (1*r) .

A e B podem ser matrizes esparsas, mas o produto de Kronecker não é definida entre uma matriz e uma hipermatriz.

Exemplos

A = [1,2;3,4];
kron(A,A)
A.*.A
sparse(A).*.sparse(A)
A(1,1) = %i;
kron(A,A)

// com hypermatrizes
// -----------------
b = hypermat([4 3 2], 1:24);

// 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 = hypermat([1 2 2],[-1,-2, 1 2]), b
a.*.b

Histórico

VersãoDescrição
5.5.1

Extensão ao hypermatrizes

Report an issue
<< cumsum Matrix operations 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:
Wed Apr 01 10:24:17 CEST 2015