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

Method isScalar

src/backend/common/ArrayInfo.cpp:110–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108bool ArrayInfo::isEmpty() const { return (elements() == 0); }
109
110bool ArrayInfo::isScalar() const { return (elements() == 1); }
111
112bool ArrayInfo::isRow() const {
113 return (dims()[0] == 1 && dims()[1] > 1 && dims()[2] == 1 &&

Callers 7

convolve2Function · 0.45
af_lookupFunction · 0.45
af_set_uniqueFunction · 0.45
af_set_unionFunction · 0.45
af_set_intersectFunction · 0.45
assignFunction · 0.45
af_assign_genFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected