kron {fBasics} | R Documentation |
Returns the Kronecker product.
kron(x, y)
x, y |
two numeric matrixes. |
The Kronecker product can be computed using the operator
%x%
or alternatively using the function kron
for SPlus compatibility.
kron
is a synonyme to %x%
.
Golub, van Loan, (1996); Matrix Computations, 3rd edition. Johns Hopkins University Press.
## Create Pascal Matrix: P = pascal(3) P ## Return the Kronecker Product kron(P, diag(3)) P