<< com_size Basic functions crlag >>

Grocer >> Basic functions > commutation

commutation

commutation of a matrix

CALLING SEQUENCE

[K]=commutation(m[,n])

PARAMETERS

Input

* m = # of rows of matrix A.

* n = # of columns of matrix A (optional, set to m if not given.

 

Output

* K = commutation matrix

DESCRIPTION

Given any (m X n) matrix A, returns the (mn x mn) K matrix such that: vec(A')=K*vec(A).

EXAMPLE

com=commutation(3)

AUTHOR

Eric Dubois 2002

Report an issue
<< com_size Basic functions crlag >>