CachedFunction ============== .. cpp:class:: numpy::CachedFunction numpy C++ class. Example ------- .. code-block:: cpp #include using namespace numpy; // Use CachedFunction CachedFunction obj; // ... operations ... Constructors ------------ .. list-table:: :widths: 55 25 20 :header-rows: 1 * - Signature - Location - Example * - ``CachedFunction(Func &&func, size_tcache_size = 1000)`` - NP_VECTORIZE_UTILS.H:246 - Operators --------- .. list-table:: :widths: 40 25 15 20 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``ReturnType operator()(Args...args)`` - ReturnType - NP_VECTORIZE_UTILS.H:250 - Other Methods ------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``size_t cacheSize()`` - size_t - NP_VECTORIZE_UTILS.H:266 - * - ``void clearCache()`` - void - NP_VECTORIZE_UTILS.H:262 -