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

Function allTrueByKey

src/api/cpp/reduce.cpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void allTrueByKey(array &keys_out, array &vals_out, const array &keys,
126 const array &vals, const int dim) {
127 af_array okeys, ovals;
128 AF_THROW(af_all_true_by_key(&okeys, &ovals, keys.get(), vals.get(),
129 getFNSD(dim, vals.dims())));
130 keys_out = array(okeys);
131 vals_out = array(ovals);
132}
133
134// 2.1 compatibility
135array anytrue(const array &in, const int dim) { return anyTrue(in, dim); }

Callers 2

TYPED_TESTFunction · 0.85
TESTFunction · 0.85

Calls 5

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

Tested by

no test coverage detected