MCPcopy Create free account
hub / github.com/awelm/simpledb / checkLinear

Method checkLinear

test/simpledb/systemtest/SystemTestUtil.java:199–201  ·  view source on GitHub ↗

Checks if the sequence represents an arithmetic sequence (approximately) ret[0] is true if the sequence is linear ret[1] is the common difference of the sequence if ret[0] is true. @param sequence @return ret[0] = true if sequence is linear, ret[1] = the common difference

(double[] sequence)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

estimateScanCostTestMethod · 0.95
checkQuadraticMethod · 0.95

Calls 2

checkConstantMethod · 0.95
getDiffMethod · 0.95

Tested by

no test coverage detected