This function allocates memory for a new multiset with parameters n, k. The multiset is not initialized and its elements are undefined. Use the function
gsl_multiset_calloc
if you want to create a multiset which is initialized to the lexicographically first multiset element. A null pointer is returned if insufficient memory is available to create the multiset.
This function allocates memory for a new multiset with parameters n, k and initializes it to the lexicographically first multiset element. A null pointer is returned if insufficient memory is available to create the multiset.
This function initializes the multiset c to the lexicographically first multiset element, i.e. 0 repeated k times.
This function initializes the multiset c to the lexicographically last multiset element, i.e. n-1 repeated k times.