MCPcopy Create free account
hub / github.com/dhale/jtk / isEquivalentTo

Method isEquivalentTo

core/src/main/java/edu/mines/jtk/dsp/Sampling.java:254–275  ·  view source on GitHub ↗

Determines whether this sampling is equivalent to the specified sampling. Two samplings are equivalent if each of their sample values differs by no more than the sampling tolerance. @param s the sampling to compare to this sampling. @return true, if equivalent; false, otherwise.

(Sampling s)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

testUniformMethod · 0.95
assertEqualsMethod · 0.95
binaryOpMethod · 0.95

Calls 7

isUniformMethod · 0.95
getCountMethod · 0.95
tinyWithMethod · 0.95
getFirstMethod · 0.95
getLastMethod · 0.95
almostEqualMethod · 0.95
valueMethod · 0.80

Tested by 2

testUniformMethod · 0.76
assertEqualsMethod · 0.76