Next: Multiset allocation, Up: Multisets [Index]

A multiset is defined by a structure containing three components, the
values of *n* and *k*, and a pointer to the multiset array.
The elements of the multiset array are all of type `size_t`

, and
are stored in increasing order. The `gsl_multiset`

structure
looks like this,

typedef struct { size_t n; size_t k; size_t *data; } gsl_multiset;