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

Function diff1

src/api/cpp/diff.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14namespace af {
15array diff1(const array &in, const int dim) {
16 af_array out = 0;
17 AF_THROW(af_diff1(&out, in.get(), dim));
18 return array(out);
19}
20
21array diff2(const array &in, const int dim) {
22 af_array out = 0;

Callers

nothing calls this directly

Calls 3

af_diff1Function · 0.85
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected