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

Method Equals

cpp/src/arrow/sparse_tensor.h:295–297  ·  view source on GitHub ↗

\brief Return whether the CSR indices are equal

Source from the content-addressed store, hash-verified

293
294 /// \brief Return whether the CSR indices are equal
295 bool Equals(const SparseIndexType& other) const {
296 return indptr()->Equals(*other.indptr()) && indices()->Equals(*other.indices());
297 }
298
299 inline Status ValidateShape(const std::vector<int64_t>& shape) const override {
300 ARROW_RETURN_NOT_OK(SparseIndex::ValidateShape(shape));

Callers 1

EqualsFunction · 0.45

Calls 2

indicesFunction · 0.85
indicesMethod · 0.80

Tested by

no test coverage detected