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

Function anyTrueByKey

src/api/cpp/reduce.cpp:142–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void anyTrueByKey(array &keys_out, array &vals_out, const array &keys,
143 const array &vals, const int dim) {
144 af_array okeys, ovals;
145 AF_THROW(af_any_true_by_key(&okeys, &ovals, keys.get(), vals.get(),
146 getFNSD(dim, vals.dims())));
147 keys_out = array(okeys);
148 vals_out = array(ovals);
149}
150
151array count(const array &in, const int dim) {
152 af_array out = 0;

Callers 2

TYPED_TESTFunction · 0.85
TESTFunction · 0.85

Calls 5

af_any_true_by_keyFunction · 0.85
getFNSDFunction · 0.85
arrayClass · 0.50
getMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected