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

Method zeroOut

JSAT/src/jsat/linear/Vec.java:1086–1090  ·  view source on GitHub ↗

Zeroes out all values in this vector This method should be overloaded for a serious implementation.

()

Source from the content-addressed store, hash-verified

1084 * This method should be overloaded for a serious implementation.
1085 */
1086 public void zeroOut()
1087 {
1088 for(int i = 0; i < length(); i++)
1089 set(i, 0.0);
1090 }
1091
1092 /**
1093 * Provides a hashcode for Vectors. All vector implementations should return the

Callers 15

changeSizeMethod · 0.95
setUpVecsMethod · 0.95
searchMethod · 0.95
runMethod · 0.95
runMethod · 0.95
trainNNMethod · 0.95
feedForwardMethod · 0.95
runMethod · 0.95
mStepMethod · 0.95
mutableTransformMethod · 0.95
optimizeMethod · 0.95
optimizeMethod · 0.95

Calls 2

lengthMethod · 0.95
setMethod · 0.95

Tested by 11

testZeroOutMethod · 0.36
testMultiply_3args_1Method · 0.36
testZeroOutMethod · 0.36
testCloneMethod · 0.36
testZeroOutMethod · 0.36
testOptimizeRegMethod · 0.36
fMethod · 0.36