MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / clearCaches

Method clearCaches

JSAT/src/jsat/linear/SparseVector.java:149–155  ·  view source on GitHub ↗

nulls out the cached summary statistics, should be called every time the data set changes

()

Source from the content-addressed store, hash-verified

147 * nulls out the cached summary statistics, should be called every time the data set changes
148 */
149 private void clearCaches()
150 {
151 sumCache = null;
152 varianceCache = null;
153 minCache = null;
154 maxCache = null;
155 }
156
157 @Override
158 public int length()

Callers 7

setMethod · 0.95
copyToMethod · 0.95
mutableAddMethod · 0.95
mutableMultiplyMethod · 0.95
mutableDivideMethod · 0.95
mutablePairwiseDivideMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected