SortingBenchmark#

class numpy::SortingBenchmark#

numpy C++ class.

Example#

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

// Use SortingBenchmark
SortingBenchmark obj;
// ... operations ...

Constructors#

Signature

Location

Example

SortingBenchmark(unsignedseed = std::random_device{}())

NP_BENCHMARK_SORTING.H:228

Indexing / Selection#

Signature

Return Type

Location

Example

std::string get_pattern_name(DataPatternpattern)

std::string

NP_BENCHMARK_SORTING.H:370

Other Methods#

Signature

Return Type

Location

Example

BenchmarkResult benchmark_algorithm(const std::string &name, SortFunctionsort_func, size_tarray_size, DataPatternpattern, intiterations = 5)

BenchmarkResult

NP_BENCHMARK_SORTING.H:230