#include <oct-sort.h>
typedef bool(* octave_sort< T >::compare_fcn_type)(typename ref_param< T >::type, typename ref_param< T >::type) |
octave_sort< T >::octave_sort | ( | void | ) | [inline] |
octave_sort< T >::octave_sort | ( | compare_fcn_type | comp | ) | [inline] |
octave_sort< T >::~octave_sort | ( | void | ) | [inline] |
bool octave_sort< T >::ascending_compare | ( | typename ref_param< T >::type | x, | |
typename ref_param< T >::type | y | |||
) | [inline, static] |
bool octave_sort< T >::descending_compare | ( | typename ref_param< T >::type | x, | |
typename ref_param< T >::type | y | |||
) | [inline, static] |
bool octave_sort< T >::is_sorted | ( | const T * | data, | |
octave_idx_type | nel | |||
) | [inline] |
bool octave_sort< T >::is_sorted_rows | ( | const T * | data, | |
octave_idx_type | rows, | |||
octave_idx_type | cols | |||
) | [inline] |
void octave_sort< T >::lookup | ( | const T * | data, | |
octave_idx_type | nel, | |||
const T * | values, | |||
octave_idx_type | nvalues, | |||
octave_idx_type * | idx, | |||
octave_idx_type | offset = 0 | |||
) | [inline] |
octave_idx_type octave_sort< T >::lookup | ( | const T * | data, | |
octave_idx_type | nel, | |||
const T & | value | |||
) | [inline] |
void octave_sort< T >::lookupb | ( | const T * | data, | |
octave_idx_type | nel, | |||
const T * | values, | |||
octave_idx_type | nvalues, | |||
bool * | match | |||
) | [inline] |
void octave_sort< T >::lookupm | ( | const T * | data, | |
octave_idx_type | nel, | |||
const T * | values, | |||
octave_idx_type | nvalues, | |||
octave_idx_type * | idx | |||
) | [inline] |
void octave_sort< T >::nth_element | ( | T * | data, | |
octave_idx_type | nel, | |||
octave_idx_type | lo, | |||
octave_idx_type | up = -1 | |||
) | [inline] |
void octave_sort< T >::set_compare | ( | sortmode | mode | ) | [inline] |
void octave_sort< T >::set_compare | ( | compare_fcn_type | comp | ) | [inline] |
void octave_sort< T >::sort | ( | T * | data, | |
octave_idx_type * | idx, | |||
octave_idx_type | nel | |||
) | [inline] |
void octave_sort< T >::sort | ( | T * | data, | |
octave_idx_type | nel | |||
) | [inline] |
void octave_sort< T >::sort_rows | ( | const T * | data, | |
octave_idx_type * | idx, | |||
octave_idx_type | rows, | |||
octave_idx_type | cols | |||
) | [inline] |