produit de kronecker (.*.)
kron(A, B) A.*.B
matrice ou hypermatrice.
matrice ou hypermatrice
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.
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 | ![]() | ![]() |
| Version | Description |
| 5.5.1 | Extension aux hypermatrices |