CachedFunction#

class numpy::CachedFunction#

numpy C++ class.

Example#

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

// Use CachedFunction
CachedFunction obj;
// ... operations ...

Constructors#

Signature

Location

Example

CachedFunction(Func &&func, size_tcache_size = 1000)

NP_VECTORIZE_UTILS.H:246

Operators#

Signature

Return Type

Location

Example

ReturnType operator()(Args...args)

ReturnType

NP_VECTORIZE_UTILS.H:250

Other Methods#

Signature

Return Type

Location

Example

size_t cacheSize()

size_t

NP_VECTORIZE_UTILS.H:266

void clearCache()

void

NP_VECTORIZE_UTILS.H:262