[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.4 Permutation properties

Function: size_t gsl_permutation_size (const gsl_permutation * p)
This function returns the size of the permutation p.

Function: size_t * gsl_permutation_data (const gsl_permutation * p)
This function returns a pointer to the array of elements in the permutation p.

Function: int gsl_permutation_valid (gsl_permutation * p)
This function checks that the permutation p is valid. The n elements should contain each of the numbers 0 .. n-1 once and only once.



This document was generated by Michael Stenner on February, 14 2002 using texi2html