jmat(1)

NAME
jmat - row or column block permutation

CALLING SEQUENCE
[j]=jmat(n,m)

PARAMETERS

n   : number of block rows or block columns of the matrix

m   : size of the (square) blocks

DESCRIPTION
This function permutes block rows or block columns of a matrix