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

Method getNumElements

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

Source from the content-addressed store, hash-verified

89std::shared_ptr<arrow::ChunkedArray> ChunkedArray::unwrap() { return chunked_array; }
90
91void ChunkedArray::getNumElements(libmexclass::proxy::method::Context& context) {
92 namespace mda = ::matlab::data;
93 mda::ArrayFactory factory;
94 auto num_elements_mda = factory.createScalar(chunked_array->length());
95 context.outputs[0] = num_elements_mda;
96}
97
98void ChunkedArray::getNumNulls(libmexclass::proxy::method::Context& context) {
99 namespace mda = ::matlab::data;

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected