StructuredComparator#

class numpy::StructuredComparator#

numpy C++ class.

Example#

#include <numpy/np_ndarray.h>
using namespace numpy;

// Use StructuredComparator
StructuredComparator obj;
// ... operations ...

Constructors#

Signature

Location

Example

StructuredComparator(const std::vector<SortFieldDescriptor<T>>&field_descriptors, const std::vector<bool>&sort_ascending = {})

NP_SORTING_ALGORITHMS.H:1272

Operators#

Signature

Return Type

Location

Example

bool operator()(const T &a, const T &b)

bool

NP_SORTING_ALGORITHMS.H:1283