This function allocates memory for a new permutation of size n. The permutation is not initialized and its elements are undefined. Use the function
gsl_permutation_calloc
if you want to create a permutation which is initialized to the identity. A null pointer is returned if insufficient memory is available to create the permutation.
This function allocates memory for a new permutation of size n and initializes it to the identity. A null pointer is returned if insufficient memory is available to create the permutation.
This function initializes the permutation p to the identity, i.e. (0,1,2,...,n-1).