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

Function ArrayApproxEquals

cpp/src/arrow/compare.cc:1156–1162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1154}
1155
1156bool ArrayApproxEquals(const Array& left, const Array& right, const EqualOptions& opts) {
1157 auto resolved_options = opts;
1158 if (!resolved_options.atol()) {
1159 resolved_options = resolved_options.atol(kDefaultAbsoluteTolerance);
1160 }
1161 return ArrayEquals(left, right, resolved_options);
1162}
1163
1164bool ScalarEquals(const Scalar& left, const Scalar& right, const EqualOptions& options) {
1165 if (&left == &right && IdentityImpliesEquality(*left.type, options)) {

Callers 1

ApproxEqualsMethod · 0.85

Calls 1

ArrayEqualsFunction · 0.85

Tested by

no test coverage detected