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

Function allTrue

src/api/cpp/reduce.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117// 2.1 compatibility
118array alltrue(const array &in, const int dim) { return allTrue(in, dim); }
119array allTrue(const array &in, const int dim) {
120 af_array out = 0;
121 AF_THROW(af_all_true(&out, in.get(), getFNSD(dim, in.dims())));
122 return array(out);
123}
124
125void allTrueByKey(array &keys_out, array &vals_out, const array &keys,
126 const array &vals, const int dim) {

Callers 4

TESTFunction · 0.85
TESTFunction · 0.85
alltrueFunction · 0.85
monte_carlo_barrierFunction · 0.85

Calls 5

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

Tested by

no test coverage detected