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

Function range

src/api/cpp/data.cpp:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147#undef CONSTANT
148
149array range(const dim4 &dims, const int seq_dim, const af::dtype ty) {
150 af_array out;
151 AF_THROW(af_range(&out, dims.ndims(), dims.get(), seq_dim, ty));
152 return array(out);
153}
154
155array range(const dim_t d0, const dim_t d1, const dim_t d2, const dim_t d3,
156 const int seq_dim, const af::dtype ty) {

Callers 15

seq.cppFile · 0.70
surfaceMethod · 0.70
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
knn_dataFunction · 0.50
TEST_PFunction · 0.50
TESTFunction · 0.50
createFunctionFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50

Calls 5

af_rangeFunction · 0.50
arrayClass · 0.50
dim4Class · 0.50
ndimsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected