Multiplies a vector or matrix with a Pmat object
Pmat_product(x, P, type = NULL)
A a vector or matrix
A Pmat object
A character string indicating the type of transformation. This argument need to be specified if P is not of class Pmat.
A matrix n x np containing the permutated/signflipped vectors.