Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
namespace af {
15
array 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
21
array diff2(const array &in, const int dim) {
22
af_array out = 0;
Callers
nothing calls this directly
Calls
3
af_diff1
Function · 0.85
array
Class · 0.50
get
Method · 0.45
Tested by
no test coverage detected