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

Function anyTrue

src/api/cpp/reduce.cpp:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134// 2.1 compatibility
135array anytrue(const array &in, const int dim) { return anyTrue(in, dim); }
136array anyTrue(const array &in, const int dim) {
137 af_array out = 0;
138 AF_THROW(af_any_true(&out, in.get(), getFNSD(dim, in.dims())));
139 return array(out);
140}
141
142void anyTrueByKey(array &keys_out, array &vals_out, const array &keys,
143 const array &vals, const int dim) {

Callers 3

TESTFunction · 0.85
TESTFunction · 0.85
anytrueFunction · 0.85

Calls 5

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

Tested by

no test coverage detected