Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - Français

Change language to:
English - 日本語 - 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

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 = 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

Historique

VersionDescription
5.5.1

Extension aux hypermatrices

Report an issue
<< cumsum Opérations matricielles 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:
Mon Feb 12 19:15:27 CET 2018