Added script front-end for primer-design code
[htsworkflow.git] / htswanalysis / MACS / lib / gsl / gsl-1.11 / doc / examples / permseq.c
1 #include <stdio.h>
2 #include <gsl/gsl_permutation.h>
3
4 int
5 main (void) 
6 {
7   gsl_permutation * p = gsl_permutation_alloc (3);
8
9   gsl_permutation_init (p);
10
11   do 
12    {
13       gsl_permutation_fprintf (stdout, p, " %u");
14       printf ("\n");
15    }
16   while (gsl_permutation_next(p) == GSL_SUCCESS);
17
18   gsl_permutation_free (p);
19
20   return 0;
21 }