Next: Multiset properties, Previous: Multiset allocation, Up: Multisets [Index]

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

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

`i`-th element of the multiset`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.