GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-sort.cc File Reference
#include <cassert>
#include <algorithm>
#include <cstring>
#include <stack>
#include "lo-error.h"
#include "lo-mappers.h"
#include "quit.h"
#include "oct-sort.h"
#include "oct-locbuf.h"
Include dependency graph for oct-sort.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sortrows_run_t
 

Typedefs

template<typename T >
using compare_fcn_ptr = bool(*)(typename ref_param< T >::type, typename ref_param< T >::type)
 

Functions

static octave_idx_type roundupsize (std::size_t n)
 

Typedef Documentation

◆ compare_fcn_ptr

template<typename T >
using compare_fcn_ptr = bool (*) (typename ref_param<T>::type, typename ref_param<T>::type)

Definition at line 1515 of file oct-sort.cc.

Function Documentation

◆ roundupsize()

static octave_idx_type roundupsize ( std::size_t  n)
inlinestatic

Definition at line 498 of file oct-sort.cc.

References max(), and n.

Referenced by octave_sort< T >::MergeState::getmem(), and octave_sort< T >::MergeState::getmemi().