PerformanceDatabase#

class numpy::PerformanceDatabase#

numpy C++ class.

Example#

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

// Use PerformanceDatabase
PerformanceDatabase obj;
// ... operations ...

Indexing / Selection#

Signature

Return Type

Location

Example

double getAverageTime(const std::string &algorithm)

double

NP_LINALG_UTILS.H:2664

Other Methods#

Signature

Return Type

Location

Example

void clearHistory()

void

NP_LINALG_UTILS.H:2752

std::string predictBestAlgorithm(size_tmatrix_size, const std::string &matrix_type, doublesparsity_ratio = 0.0)

std::string

NP_LINALG_UTILS.H:2677

void recordPerformance(const std::string &algorithm, size_tmatrix_size, const std::string &matrix_type, const PerformanceMetrics &metrics, boolconverged = true)

void

NP_LINALG_UTILS.H:2630