High-Level Data Reduction Library: catalogue/hdrl_cat_utils_sort.c File Reference

High-Level Data Reduction Library 1.6.0 High-Level data reduction routines for ESO pipelines

Loading...
Searching...
No Matches
Data Structures | Functions
hdrl_cat_utils_sort.c File Reference
`#include <string.h>`
`#include "hdrl_cat_utils_sort.h"`
`#include "hdrl_types.h"`
Include dependency graph for hdrl_cat_utils_sort.c:

## Data Structures
struct | sort_index

## Functions
cpl_error_code | sort_array_f (void *a, cpl_size nE, cpl_size sE, f_compare f)
| sort_array_f Core sort algorith that it's called with the other sort function. If you need to changed the the method of sort this is the function that you need modified.
cpl_error_code | sort_array (void *a, cpl_size nE, cpl_size sE, hdrl_sort_type type, cpl_sort_direction dir)
| sort_array hdrl function for order arrays with know types. Using the type parameter for select the comparation function
cpl_error_code | sort_array_index (double *a, cpl_size nE, void *b, hdrl_sort_type type, cpl_sort_direction dir)
| sort_array_index hdrl function for sort two arrays The alghorithm sort 'a' and in the same way sort the other generic array by the index of 'a'.
cpl_error_code | sort_arrays_index (double *a, cpl_size nE, void **bs, cpl_size nA, hdrl_sort_type *types, cpl_sort_direction dir)
| sort_arrays_index hdrl function for sort several arrays The alghorithm sort 'a' and in the same way sort the others generic arrays by the index of 'a'.