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

Function product

src/api/cpp/reduce.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47array product(const array &in, const int dim) {
48 af_array out = 0;
49 AF_THROW(af_product(&out, in.get(), getFNSD(dim, in.dims())));
50 return array(out);
51}
52
53array product(const array &in, const int dim, const double nanval) {
54 af_array out = 0;

Callers 6

TESTFunction · 0.85
TESTFunction · 0.85
TEST_PFunction · 0.85
mulFunction · 0.85
mainFunction · 0.85
monte_carlo_barrierFunction · 0.85

Calls 6

af_productFunction · 0.85
getFNSDFunction · 0.85
af_product_nanFunction · 0.85
arrayClass · 0.50
getMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected