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

Function getIdx

src/backend/cpu/utility.hpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30static inline unsigned getIdx(af::dim4 const& strides, int i, int j = 0,
31 int k = 0, int l = 0) {
32 return (l * strides[3] + k * strides[2] + j * strides[1] + i * strides[0]);
33}
34
35template<typename T>
36void gaussian1D(T* out, int const dim, double sigma = 0.0) {

Callers 8

get_out_idxFunction · 0.85
bilateralFunction · 0.85
getOffsetsFunction · 0.85
morph3dFunction · 0.85
transpose_conjFunction · 0.85
transpose_inplaceFunction · 0.85
diff1Function · 0.85
diff2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected