MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / productByKey

Function productByKey

src/api/cpp/reduce.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void productByKey(array &keys_out, array &vals_out, const array &keys,
60 const array &vals, const int dim) {
61 af_array okeys, ovals;
62 AF_THROW(af_product_by_key(&okeys, &ovals, keys.get(), vals.get(),
63 getFNSD(dim, vals.dims())));
64 keys_out = array(okeys);
65 vals_out = array(ovals);
66}
67
68void productByKey(array &keys_out, array &vals_out, const array &keys,
69 const array &vals, const int dim, const double nanval) {

Callers 2

TYPED_TESTFunction · 0.85
TESTFunction · 0.85

Calls 6

af_product_by_keyFunction · 0.85
getFNSDFunction · 0.85
af_product_by_key_nanFunction · 0.85
arrayClass · 0.50
getMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected