MCPcopy Create free account
hub / github.com/pybind/pybind11 / operator()

Method operator()

include/pybind11/numpy.h:2149–2154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2147 explicit vectorize_helper(T &&f) : f(std::forward<T>(f)) {}
2148
2149 object operator()(typename vectorize_arg<Args>::type... args) {
2150 return run(args...,
2151 make_index_sequence<N>(),
2152 select_indices<vectorize_arg<Args>::vectorize...>(),
2153 make_index_sequence<NVectorized>());
2154 }
2155
2156private:
2157 remove_reference_t<Func> f;

Callers

nothing calls this directly

Calls 1

runFunction · 0.50

Tested by

no test coverage detected