MCPcopy Create free account
hub / github.com/apache/arrow / getNumElements

Method getNumElements

matlab/src/cpp/arrow/matlab/array/proxy/array.cc:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void Array::getNumElements(libmexclass::proxy::method::Context& context) {
88 ::matlab::data::ArrayFactory factory;
89 auto length_mda = factory.createScalar(array->length());
90 context.outputs[0] = length_mda;
91}
92
93void Array::getNumNulls(libmexclass::proxy::method::Context& context) {
94 ::matlab::data::ArrayFactory factory;

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected