Next: Combination properties, Previous: Combination allocation, Up: Combinations [Index]

The following function can be used to access the elements of a combination.

- Function:
*size_t***gsl_combination_get***(const gsl_combination **`c`, const size_t`i`) This function returns the value of the

`i`-th element of the combination`c`. If`i`lies outside the allowed range of 0 tothen the error handler is invoked and 0 is returned. An inline version of this function is used when`k`-1`HAVE_INLINE`

is defined.