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

Method checkQuadratic

test/simpledb/systemtest/SystemTestUtil.java:186–190  ·  view source on GitHub ↗

Checks if the sequence represents a quadratic sequence (approximately) ret[0] is true if the sequence is quadratic ret[1] is the common difference of the sequence if ret[0] is true. @param sequence @return ret[0] = true if sequence is qudratic(or sub-quadratic or linear), ret[1] = the coefficient of

(double[] sequence)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

estimateScanCostTestMethod · 0.95

Calls 2

checkLinearMethod · 0.95
getDiffMethod · 0.95

Tested by

no test coverage detected