| GNU Scientific Library Reference Manual - Third Edition (v1.12) by M. Galassi, J. Davies, J. Theiler, B. Gough, G. Jungman, P. Alken, M. Booth, F. Rossi Paperback (6"x9"), 592 pages, 60 figures ISBN 0954612078 RRP £24.95 ($39.95) |
10.5 Combination functions
- Function: int gsl_combination_next (gsl_combination * c)
- This function advances the combination c to the next combination
in lexicographic order and returns
GSL_SUCCESS. If no further combinations are available it returnsGSL_FAILUREand leaves c unmodified. Starting with the first combination and repeatedly applying this function will iterate through all possible combinations of a given order.
- Function: int gsl_combination_prev (gsl_combination * c)
- This function steps backwards from the combination c to the
previous combination in lexicographic order, returning
GSL_SUCCESS. If no previous combination is available it returnsGSL_FAILUREand leaves c unmodified.
| ISBN 0954612078 | GNU Scientific Library Reference Manual - Third Edition (v1.12) | See the print edition |