fBasics (version 3011.87)

kron: Kronecker Product

Description

Returns the Kronecker product.

Usage

kron(x, y)

Arguments

x, y
two numeric matrixes.

Details

The Kronecker product can be computed using the operator %x% or alternatively using the function kron for SPlus compatibility.

References

Golub, van Loan, (1996); Matrix Computations, 3rd edition. Johns Hopkins University Press.

Examples

Run this code
## Create Pascal Matrix:
   P = pascal(3)
   P
   
## Return the Kronecker Product                     
   kron(P, diag(3))
   P 
                           

Run the code above in your browser using DataLab