permutation.finc File Reference

## Functions/Subroutines

type(fgsl_permutation) function | fgsl_permutation_alloc (n)
type(fgsl_permutation) function | fgsl_permutation_calloc (n)
subroutine | fgsl_permutation_init (p)
subroutine | fgsl_permutation_free (p)
integer(fgsl_int) function | fgsl_permutation_memcpy (dest, src)
integer(fgsl_size_t) function | fgsl_permutation_get (p, i)
integer(fgsl_int) function | fgsl_permutation_swap (p, i, j)
integer(fgsl_size_t) function | fgsl_permutation_size (p)
integer(fgsl_size_t) function, dimension(:), pointer | fgsl_permutation_data (p)
integer(fgsl_int) function | fgsl_permutation_valid (p)
subroutine | fgsl_permutation_reverse (p)
integer(fgsl_int) function | fgsl_permutation_inverse (inv, p)
integer(fgsl_int) function | fgsl_permutation_next (p)
integer(fgsl_int) function | fgsl_permutation_prev (p)
integer(fgsl_int) function | fgsl_permute (p, data, stride, n)
integer(fgsl_int) function | fgsl_permute_long (p, data, stride, n)
integer(fgsl_int) function | fgsl_permute_inverse (p, data, stride, n)
integer(fgsl_int) function | fgsl_permute_long_inverse (p, data, stride, n)
integer(fgsl_int) function | fgsl_permute_vector (p, v)
integer(fgsl_int) function | fgsl_permute_vector_inverse (p, v)
integer(fgsl_int) function | fgsl_permute_matrix (p, a)
integer(fgsl_int) function | fgsl_permutation_mul (p, pa, pb)
integer(fgsl_int) function | fgsl_permutation_fwrite (stream, p)
integer(fgsl_int) function | fgsl_permutation_fread (stream, p)
integer(fgsl_int) function | fgsl_permutation_fprintf (stream, p, format)
integer(fgsl_int) function | fgsl_permutation_fscanf (stream, p)
integer(fgsl_int) function | fgsl_permutation_linear_to_canonical (q, p)
integer(fgsl_int) function | fgsl_permutation_canonical_to_linear (p, q)
integer(fgsl_size_t) function | fgsl_permutation_inversions (p)
integer(fgsl_size_t) function | fgsl_permutation_linear_cycles (p)
integer(fgsl_size_t) function | fgsl_permutation_canonical_cycles (p)
type(fgsl_combination) function | fgsl_combination_alloc (n, k)
type(fgsl_combination) function | fgsl_combination_calloc (n, k)
subroutine | fgsl_combination_init_first (c)
subroutine | fgsl_combination_init_last (c)
subroutine | fgsl_combination_free (c)
integer(fgsl_int) function | fgsl_combination_memcpy (dest, src)
integer(fgsl_size_t) function | fgsl_combination_get (c, i)
integer(fgsl_size_t) function | fgsl_combination_n (c)
integer(fgsl_size_t) function | fgsl_combination_k (c)
integer(fgsl_size_t) function, dimension(:), pointer | fgsl_combination_data (c)
integer(fgsl_int) function | fgsl_combination_valid (c)
integer(fgsl_int) function | fgsl_combination_next (c)
integer(fgsl_int) function | fgsl_combination_prev (c)
integer(fgsl_int) function | fgsl_combination_fwrite (stream, c)
integer(fgsl_int) function | fgsl_combination_fread (stream, c)
integer(fgsl_int) function | fgsl_combination_fprintf (stream, c, format)
integer(fgsl_int) function | fgsl_combination_fscanf (stream, c)
type(fgsl_multiset) function | fgsl_multiset_alloc (n, k)
type(fgsl_multiset) function | fgsl_multiset_calloc (n, k)
subroutine | fgsl_multiset_init_first (c)
subroutine | fgsl_multiset_init_last (c)
subroutine | fgsl_multiset_free (c)
integer(fgsl_int) function | fgsl_multiset_memcpy (dest, src)
integer(fgsl_size_t) function | fgsl_multiset_get (c, i)
integer(fgsl_size_t) function | fgsl_multiset_n (c)
integer(fgsl_size_t) function | fgsl_multiset_k (c)
integer(fgsl_size_t) function, dimension(:), pointer | fgsl_multiset_data (c)
integer(fgsl_int) function | fgsl_multiset_valid (c)
integer(fgsl_int) function | fgsl_multiset_next (c)
integer(fgsl_int) function | fgsl_multiset_prev (c)
integer(fgsl_int) function | fgsl_multiset_fwrite (stream, c)
integer(fgsl_int) function | fgsl_multiset_fread (stream, c)
integer(fgsl_int) function | fgsl_multiset_fprintf (stream, c, format)
integer(fgsl_int) function | fgsl_multiset_fscanf (stream, c)
logical function | fgsl_permutation_status (permutation)
logical function | fgsl_combination_status (combination)
logical function | fgsl_multiset_status (multiset)
integer(fgsl_size_t) function | fgsl_sizeof_permutation (p)
integer(fgsl_size_t) function | fgsl_sizeof_combination (c)
integer(fgsl_size_t) function | fgsl_sizeof_multiset (c)

## Function/Subroutine Documentation

## fgsl_combination_alloc()

type(fgsl_combination) function fgsl_combination_alloc | ( | integer(fgsl_size_t), intent(in) | n,
|  | integer(fgsl_size_t), intent(in) | k
| ) |  |

## fgsl_combination_calloc()

type(fgsl_combination) function fgsl_combination_calloc | ( | integer(fgsl_size_t), intent(in) | n,
|  | integer(fgsl_size_t), intent(in) | k
| ) |  |

## fgsl_combination_data()

integer(fgsl_size_t) function, dimension(:), pointer fgsl_combination_data | ( | type(fgsl_combination), intent(in) | c | ) |

## fgsl_combination_fprintf()

integer(fgsl_int) function fgsl_combination_fprintf | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_combination), intent(in) | c,
|  | character(kind=fgsl_char, len=*), intent(in) | format
| ) |  |

## fgsl_combination_fread()

integer(fgsl_int) function fgsl_combination_fread | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_combination), intent(inout) | c
| ) |  |

## fgsl_combination_free()

subroutine fgsl_combination_free | ( | type(fgsl_combination), intent(inout) | c | ) |

## fgsl_combination_fscanf()

integer(fgsl_int) function fgsl_combination_fscanf | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_combination), intent(inout) | c
| ) |  |

## fgsl_combination_fwrite()

integer(fgsl_int) function fgsl_combination_fwrite | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_combination), intent(in) | c
| ) |  |

## fgsl_combination_get()

integer(fgsl_size_t) function fgsl_combination_get | ( | type(fgsl_combination), intent(inout) | c,
|  | integer(fgsl_size_t), intent(in) | i
| ) |  |

## fgsl_combination_init_first()

subroutine fgsl_combination_init_first | ( | type(fgsl_combination), intent(inout) | c | ) |

## fgsl_combination_init_last()

subroutine fgsl_combination_init_last | ( | type(fgsl_combination), intent(inout) | c | ) |

## fgsl_combination_k()

integer(fgsl_size_t) function fgsl_combination_k | ( | type(fgsl_combination), intent(in) | c | ) |

## fgsl_combination_memcpy()

integer(fgsl_int) function fgsl_combination_memcpy | ( | type(fgsl_combination), intent(inout) | dest,
|  | type(fgsl_combination), intent(in) | src
| ) |  |

## fgsl_combination_n()

integer(fgsl_size_t) function fgsl_combination_n | ( | type(fgsl_combination), intent(in) | c | ) |

## fgsl_combination_next()

integer(fgsl_int) function fgsl_combination_next | ( | type(fgsl_combination), intent(in) | c | ) |

## fgsl_combination_prev()

integer(fgsl_int) function fgsl_combination_prev | ( | type(fgsl_combination), intent(in) | c | ) |

## fgsl_combination_status()

logical function fgsl_combination_status | ( | type(fgsl_combination), intent(in) | combination | ) |

## fgsl_combination_valid()

integer(fgsl_int) function fgsl_combination_valid | ( | type(fgsl_combination), intent(in) | c | ) |

## fgsl_multiset_alloc()

type(fgsl_multiset) function fgsl_multiset_alloc | ( | integer(fgsl_size_t), intent(in) | n,
|  | integer(fgsl_size_t), intent(in) | k
| ) |  |

## fgsl_multiset_calloc()

type(fgsl_multiset) function fgsl_multiset_calloc | ( | integer(fgsl_size_t), intent(in) | n,
|  | integer(fgsl_size_t), intent(in) | k
| ) |  |

## fgsl_multiset_data()

integer(fgsl_size_t) function, dimension(:), pointer fgsl_multiset_data | ( | type(fgsl_multiset), intent(in) | c | ) |

## fgsl_multiset_fprintf()

integer(fgsl_int) function fgsl_multiset_fprintf | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_multiset), intent(in) | c,
|  | character(kind=fgsl_char, len=*), intent(in) | format
| ) |  |

## fgsl_multiset_fread()

integer(fgsl_int) function fgsl_multiset_fread | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_multiset), intent(inout) | c
| ) |  |

## fgsl_multiset_free()

subroutine fgsl_multiset_free | ( | type(fgsl_multiset), intent(inout) | c | ) |

## fgsl_multiset_fscanf()

integer(fgsl_int) function fgsl_multiset_fscanf | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_multiset), intent(inout) | c
| ) |  |

## fgsl_multiset_fwrite()

integer(fgsl_int) function fgsl_multiset_fwrite | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_multiset), intent(in) | c
| ) |  |

## fgsl_multiset_get()

integer(fgsl_size_t) function fgsl_multiset_get | ( | type(fgsl_multiset), intent(inout) | c,
|  | integer(fgsl_size_t), intent(in) | i
| ) |  |

## fgsl_multiset_init_first()

subroutine fgsl_multiset_init_first | ( | type(fgsl_multiset), intent(inout) | c | ) |

## fgsl_multiset_init_last()

subroutine fgsl_multiset_init_last | ( | type(fgsl_multiset), intent(inout) | c | ) |

## fgsl_multiset_k()

integer(fgsl_size_t) function fgsl_multiset_k | ( | type(fgsl_multiset), intent(in) | c | ) |

## fgsl_multiset_memcpy()

integer(fgsl_int) function fgsl_multiset_memcpy | ( | type(fgsl_multiset), intent(inout) | dest,
|  | type(fgsl_multiset), intent(in) | src
| ) |  |

## fgsl_multiset_n()

integer(fgsl_size_t) function fgsl_multiset_n | ( | type(fgsl_multiset), intent(in) | c | ) |

## fgsl_multiset_next()

integer(fgsl_int) function fgsl_multiset_next | ( | type(fgsl_multiset), intent(in) | c | ) |

## fgsl_multiset_prev()

integer(fgsl_int) function fgsl_multiset_prev | ( | type(fgsl_multiset), intent(in) | c | ) |

## fgsl_multiset_status()

logical function fgsl_multiset_status | ( | type(fgsl_multiset), intent(in) | multiset | ) |

## fgsl_multiset_valid()

integer(fgsl_int) function fgsl_multiset_valid | ( | type(fgsl_multiset), intent(in) | c | ) |

## fgsl_permutation_alloc()

type(fgsl_permutation) function fgsl_permutation_alloc | ( | integer(fgsl_size_t), intent(in) | n | ) |

## fgsl_permutation_calloc()

type(fgsl_permutation) function fgsl_permutation_calloc | ( | integer(fgsl_size_t), intent(in) | n | ) |

## fgsl_permutation_canonical_cycles()

integer(fgsl_size_t) function fgsl_permutation_canonical_cycles | ( | type(fgsl_permutation), intent(in) | p | ) |

## fgsl_permutation_canonical_to_linear()

integer(fgsl_int) function fgsl_permutation_canonical_to_linear | ( | type(fgsl_permutation), intent(inout) | p,
|  | type(fgsl_permutation), intent(in) | q
| ) |  |

## fgsl_permutation_data()

integer(fgsl_size_t) function, dimension(:), pointer fgsl_permutation_data | ( | type(fgsl_permutation), intent(in) | p | ) |

## fgsl_permutation_fprintf()

integer(fgsl_int) function fgsl_permutation_fprintf | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_permutation), intent(in) | p,
|  | character(kind=fgsl_char, len=*), intent(in) | format
| ) |  |

## fgsl_permutation_fread()

integer(fgsl_int) function fgsl_permutation_fread | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_permutation), intent(inout) | p
| ) |  |

## fgsl_permutation_free()

subroutine fgsl_permutation_free | ( | type(fgsl_permutation), intent(inout) | p | ) |

## fgsl_permutation_fscanf()

integer(fgsl_int) function fgsl_permutation_fscanf | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_permutation), intent(inout) | p
| ) |  |

## fgsl_permutation_fwrite()

integer(fgsl_int) function fgsl_permutation_fwrite | ( | type(fgsl_file), intent(in) | stream,
|  | type(fgsl_permutation), intent(in) | p
| ) |  |

## fgsl_permutation_get()

integer(fgsl_size_t) function fgsl_permutation_get | ( | type(fgsl_permutation), intent(inout) | p,
|  | integer(fgsl_size_t), intent(in) | i
| ) |  |

## fgsl_permutation_init()

subroutine fgsl_permutation_init | ( | type(fgsl_permutation), intent(inout) | p | ) |

## fgsl_permutation_inverse()

integer(fgsl_int) function fgsl_permutation_inverse | ( | type(fgsl_permutation), intent(inout) | inv,
|  | type(fgsl_permutation), intent(in) | p
| ) |  |

## fgsl_permutation_inversions()

integer(fgsl_size_t) function fgsl_permutation_inversions | ( | type(fgsl_permutation), intent(in) | p | ) |

## fgsl_permutation_linear_cycles()

integer(fgsl_size_t) function fgsl_permutation_linear_cycles | ( | type(fgsl_permutation), intent(in) | p | ) |

## fgsl_permutation_linear_to_canonical()

integer(fgsl_int) function fgsl_permutation_linear_to_canonical | ( | type(fgsl_permutation), intent(inout) | q,
|  | type(fgsl_permutation), intent(in) | p
| ) |  |

## fgsl_permutation_memcpy()

integer(fgsl_int) function fgsl_permutation_memcpy | ( | type(fgsl_permutation), intent(inout) | dest,
|  | type(fgsl_permutation), intent(in) | src
| ) |  |

## fgsl_permutation_mul()

integer(fgsl_int) function fgsl_permutation_mul | ( | type(fgsl_permutation), intent(inout) | p,
|  | type(fgsl_permutation), intent(in) | pa,
|  | type(fgsl_permutation), intent(in) | pb
| ) |  |

## fgsl_permutation_next()

integer(fgsl_int) function fgsl_permutation_next | ( | type(fgsl_permutation), intent(in) | p | ) |

## fgsl_permutation_prev()

integer(fgsl_int) function fgsl_permutation_prev | ( | type(fgsl_permutation), intent(in) | p | ) |

## fgsl_permutation_reverse()

subroutine fgsl_permutation_reverse | ( | type(fgsl_permutation), intent(inout) | p | ) |

## fgsl_permutation_size()

integer(fgsl_size_t) function fgsl_permutation_size | ( | type(fgsl_permutation), intent(in) | p | ) |

## fgsl_permutation_status()

logical function fgsl_permutation_status | ( | type(fgsl_permutation), intent(in) | permutation | ) |

## fgsl_permutation_swap()

integer(fgsl_int) function fgsl_permutation_swap | ( | type(fgsl_permutation), intent(inout) | p,
|  | integer(fgsl_size_t), intent(in) | i,
|  | integer(fgsl_size_t), intent(in) | j
| ) |  |

## fgsl_permutation_valid()

integer(fgsl_int) function fgsl_permutation_valid | ( | type(fgsl_permutation), intent(in) | p | ) |

## fgsl_permute()

integer(fgsl_int) function fgsl_permute | ( | integer(fgsl_size_t), dimension(:), intent(in), target, contiguous | p,
|  | real(fgsl_double), dimension(:), intent(inout), target, contiguous | data,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_permute_inverse()

integer(fgsl_int) function fgsl_permute_inverse | ( | integer(fgsl_size_t), dimension(:), intent(in), target, contiguous | p,
|  | real(fgsl_double), dimension(:), intent(inout), target, contiguous | data,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_permute_long()

integer(fgsl_int) function fgsl_permute_long | ( | integer(fgsl_size_t), dimension(:), intent(in), target, contiguous | p,
|  | integer(fgsl_long), dimension(:), intent(inout), target, contiguous | data,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_permute_long_inverse()

integer(fgsl_int) function fgsl_permute_long_inverse | ( | integer(fgsl_size_t), dimension(:), intent(in), target, contiguous | p,
|  | integer(fgsl_long), dimension(:), intent(inout), target, contiguous | data,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_permute_matrix()

integer(fgsl_int) function fgsl_permute_matrix | ( | type(fgsl_permutation), intent(in) | p,
|  | type(fgsl_matrix), intent(inout) | a
| ) |  |

## fgsl_permute_vector()

integer(fgsl_int) function fgsl_permute_vector | ( | type(fgsl_permutation), intent(in) | p,
|  | type(fgsl_vector), intent(inout) | v
| ) |  |

## fgsl_permute_vector_inverse()

integer(fgsl_int) function fgsl_permute_vector_inverse | ( | type(fgsl_permutation), intent(in) | p,
|  | type(fgsl_vector), intent(inout) | v
| ) |  |

## fgsl_sizeof_combination()

integer(fgsl_size_t) function fgsl_sizeof_combination | ( | type(fgsl_combination), intent(in) | c | ) |

## fgsl_sizeof_multiset()

integer(fgsl_size_t) function fgsl_sizeof_multiset | ( | type(fgsl_multiset), intent(in) | c | ) |

## fgsl_sizeof_permutation()

integer(fgsl_size_t) function fgsl_sizeof_permutation | ( | type(fgsl_permutation), intent(in) | p | ) |