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

Function numDims

src/api/cpp/array.cpp:100–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100unsigned numDims(const af_array arr) {
101 unsigned nd;
102 AF_THROW(af_get_numdims(&nd, arr));
103 return nd;
104}
105
106dim4 getDims(const af_array arr) {
107 dim_t d0, d1, d2, d3;

Callers 3

numdimsMethod · 0.85
operator()Method · 0.85
array.cppFile · 0.85

Calls 1

af_get_numdimsFunction · 0.50

Tested by

no test coverage detected