This function is not yet fully documented. This is a transcript of the text-formatted help.

bbpermute   Create a permuting blackbox operator.
   [BB,DIM2]=bbredim(DIM1,order) creates an M-by-M black-box
   operator that rearranges the dimensions of a hypercube
   represented as a column vector. The elements of order must
   be a rearrangement of the numbers from 1 to length(DIM1).

   For images (i.e. 2D "hypercube"), bbpermute is either the
   identity operator or acts as the transpose operator.

   The adjoint operator, i.e. BB', is the inverse of BB.
   Therefore there is no need for a separate inverse.

   See also , , bbflipdim.