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

Function af_sum

src/api/c/reduce.cpp:469–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469af_err af_sum(af_array *out, const af_array in, const int dim) {
470 return reduce_promote<af_add_t>(out, in, dim);
471}
472
473af_err af_product(af_array *out, const af_array in, const int dim) {
474 return reduce_promote<af_mul_t>(out, in, dim);

Callers 1

sumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected