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

Function hasEnd

src/backend/common/dim4.cpp:109–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool hasEnd(const af_seq& seq) { return (seq.begin <= -1 || seq.end <= -1); }
110
111bool isSpan(const af_seq& seq) {
112 return (seq.step == 0 && seq.begin == 1 && seq.end == 1);

Callers 1

calcDimFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected