sort.finc File Reference

## Functions/Subroutines

subroutine | fgsl_heapsort (array, count, size, compare)
integer(fgsl_int) function | fgsl_heapsort_index (p, array, count, size, compare)
subroutine | fgsl_sort_double (data, stride, n)
subroutine | fgsl_sort2_double (data1, stride1, data2, stride2, n)
subroutine | fgsl_sort_double_index (p, data, stride, n)
integer(fgsl_int) function | fgsl_sort_double_smallest (dest, k, src, stride, n)
integer(fgsl_int) function | fgsl_sort_double_smallest_index (p, k, src, stride, n)
integer(fgsl_int) function | fgsl_sort_double_largest (dest, k, src, stride, n)
integer(fgsl_int) function | fgsl_sort_double_largest_index (p, k, src, stride, n)
subroutine | fgsl_sort_long (data, stride, n)
subroutine | fgsl_sort_long_index (p, data, stride, n)
integer(fgsl_int) function | fgsl_sort_long_smallest (dest, k, src, stride, n)
integer(fgsl_int) function | fgsl_sort_long_smallest_index (p, k, src, stride, n)
integer(fgsl_int) function | fgsl_sort_long_largest (dest, k, src, stride, n)
integer(fgsl_int) function | fgsl_sort_long_largest_index (p, k, src, stride, n)
subroutine | fgsl_sort_vector (v)
subroutine | fgsl_sort_vector2 (v1, v2)
subroutine | fgsl_sort_vector_index (p, v)
integer(fgsl_int) function | fgsl_sort_vector_smallest (dest, k, v)
integer(fgsl_int) function | fgsl_sort_vector_largest (dest, k, v)
integer(fgsl_int) function | fgsl_sort_vector_smallest_index (p, k, v)
integer(fgsl_int) function | fgsl_sort_vector_largest_index (p, k, v)

## Function/Subroutine Documentation

## fgsl_heapsort()

subroutine fgsl_heapsort | ( | type(c_ptr) | array,
|  | integer(fgsl_size_t), intent(in) | count,
|  | integer(fgsl_size_t), intent(in) | size,
|  |  | compare
| ) |  |

## fgsl_heapsort_index()

integer(fgsl_int) function fgsl_heapsort_index | ( | integer(fgsl_size_t), dimension(count), intent(out), target | p,
|  | type(c_ptr) | array,
|  | integer(fgsl_size_t), intent(in) | count,
|  | integer(fgsl_size_t), intent(in) | size,
|  |  | compare
| ) |  |

## fgsl_sort2_double()

subroutine fgsl_sort2_double | ( | real(fgsl_double), dimension(:), intent(inout), target, contiguous | data1,
|  | integer(fgsl_size_t), intent(in) | stride1,
|  | real(fgsl_double), dimension(:), intent(inout), target, contiguous | data2,
|  | integer(fgsl_size_t), intent(in) | stride2,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_double()

subroutine fgsl_sort_double | ( | real(fgsl_double), dimension(:), intent(inout), target, contiguous | data,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_double_index()

subroutine fgsl_sort_double_index | ( | integer(fgsl_size_t), dimension(:), intent(out), target, contiguous | p,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | data,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_double_largest()

integer(fgsl_int) function fgsl_sort_double_largest | ( | real(fgsl_double), dimension(k), intent(out), target | dest,
|  | integer(fgsl_size_t), intent(in) | k,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | src,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_double_largest_index()

integer(fgsl_int) function fgsl_sort_double_largest_index | ( | integer(fgsl_size_t), dimension(k), intent(out), target | p,
|  | integer(fgsl_size_t), intent(in) | k,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | src,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_double_smallest()

integer(fgsl_int) function fgsl_sort_double_smallest | ( | real(fgsl_double), dimension(k), intent(out), target | dest,
|  | integer(fgsl_size_t), intent(in) | k,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | src,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_double_smallest_index()

integer(fgsl_int) function fgsl_sort_double_smallest_index | ( | integer(fgsl_size_t), dimension(k), intent(out), target | p,
|  | integer(fgsl_size_t), intent(in) | k,
|  | real(fgsl_double), dimension(:), intent(in), target, contiguous | src,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_long()

subroutine fgsl_sort_long | ( | integer(fgsl_long), dimension(:), intent(inout), target, contiguous | data,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_long_index()

subroutine fgsl_sort_long_index | ( | integer(fgsl_size_t), dimension(:), intent(out), target, contiguous | p,
|  | integer(fgsl_long), dimension(:), intent(in), target, contiguous | data,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_long_largest()

integer(fgsl_int) function fgsl_sort_long_largest | ( | integer(fgsl_long), dimension(k), intent(out), target | dest,
|  | integer(fgsl_size_t), intent(in) | k,
|  | integer(fgsl_long), dimension(:), intent(in), target, contiguous | src,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_long_largest_index()

integer(fgsl_int) function fgsl_sort_long_largest_index | ( | integer(fgsl_size_t), dimension(k), intent(out), target | p,
|  | integer(fgsl_size_t), intent(in) | k,
|  | integer(fgsl_long), dimension(:), intent(in), target, contiguous | src,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_long_smallest()

integer(fgsl_int) function fgsl_sort_long_smallest | ( | integer(fgsl_long), dimension(k), intent(out), target | dest,
|  | integer(fgsl_size_t), intent(in) | k,
|  | integer(fgsl_long), dimension(:), intent(in), target, contiguous | src,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_long_smallest_index()

integer(fgsl_int) function fgsl_sort_long_smallest_index | ( | integer(fgsl_size_t), dimension(k), intent(out), target | p,
|  | integer(fgsl_size_t), intent(in) | k,
|  | integer(fgsl_long), dimension(:), intent(in), target, contiguous | src,
|  | integer(fgsl_size_t), intent(in) | stride,
|  | integer(fgsl_size_t), intent(in) | n
| ) |  |

## fgsl_sort_vector()

subroutine fgsl_sort_vector | ( | type(fgsl_vector), intent(inout) | v | ) |

## fgsl_sort_vector2()

subroutine fgsl_sort_vector2 | ( | type(fgsl_vector), intent(inout) | v1,
|  | type(fgsl_vector), intent(inout) | v2
| ) |  |

## fgsl_sort_vector_index()

subroutine fgsl_sort_vector_index | ( | type(fgsl_permutation), intent(inout) | p,
|  | type(fgsl_vector), intent(in) | v
| ) |  |

## fgsl_sort_vector_largest()

integer(fgsl_int) function fgsl_sort_vector_largest | ( | real(fgsl_double), dimension(k), intent(out) | dest,
|  | integer(fgsl_size_t), intent(in) | k,
|  | type(fgsl_vector), intent(inout) | v
| ) |  |

## fgsl_sort_vector_largest_index()

integer(fgsl_int) function fgsl_sort_vector_largest_index | ( | integer(fgsl_size_t), dimension(k), intent(out) | p,
|  | integer(fgsl_size_t), intent(in) | k,
|  | type(fgsl_vector), intent(inout) | v
| ) |  |

## fgsl_sort_vector_smallest()

integer(fgsl_int) function fgsl_sort_vector_smallest | ( | real(fgsl_double), dimension(k), intent(out) | dest,
|  | integer(fgsl_size_t), intent(in) | k,
|  | type(fgsl_vector), intent(inout) | v
| ) |  |

## fgsl_sort_vector_smallest_index()

integer(fgsl_int) function fgsl_sort_vector_smallest_index | ( | integer(fgsl_size_t), dimension(k), intent(out) | p,
|  | integer(fgsl_size_t), intent(in) | k,
|  | type(fgsl_vector), intent(inout) | v
| ) |  |