Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - Русский - 日本語
Aide de Scilab >> Fonctions Elémentaires > Opérations matricielles > kron

kron

produit de kronecker (.*.)

Séquence d'appel

kron(A, B)
A.*.B

Paramètres

A

matrice ou hypermatrice.

B

matrice ou hypermatrice

Description

kron(A,B) ou A.*.B calcule et fournit le produit tensoriel de Kronecker de deux matrices ou hypermatrices A et B. La matrice résultante a la forme suivante :

Si A est une matrice m x n et B une hypermatrice p x q x r, alors A.*.B est une hypermatrice (m*p) x (n*q) x (1*r).

A et B peuvent être des matrices creuses. Cependant le produit de Kronecker n'est pas défini entre une matrice creuse et une hypermatrice.

Exemples

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

// avec des hypermatrices
// ----------------------
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

Historique

VersionDescription
5.5.1

Extension aux hypermatrices

Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:31:01 CEST 2016