Next: , Up: Permutations


9.1 The Permutation struct

A permutation is defined by a structure containing two components, the size of the permutation and a pointer to the permutation array. The elements of the permutation array are all of type size_t. The gsl_permutation structure looks like this,

     typedef struct
     {
       size_t size;
       size_t * data;
     } gsl_permutation;


The GNU Scientific Library - a free numerical library licensed under the GNU GPL
Back to the GNU Scientific Library Homepage