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