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

Method getNonZeroIterator

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

Returns an iterator that will go over the non zero values in the given vector. The iterator does not support the Iterator#remove() method. @return an iterator for the non zero index value pairs.

()

Source from the content-addressed store, hash-verified

1011 * @return an iterator for the non zero index value pairs.
1012 */
1013 public Iterator<IndexValue> getNonZeroIterator()
1014 {
1015 return getNonZeroIterator(0);
1016 }
1017
1018 /**
1019 * Returns an iterator that will go over the non zero values starting from

Callers 15

testSetCMethod · 0.95
multiplyTransposeMethod · 0.95
runMethod · 0.95
dotMethod · 0.95
iteratorMethod · 0.95
classifyMethod · 0.95
transformMethod · 0.95
transformMethod · 0.95

Calls 2

lengthMethod · 0.95
getMethod · 0.95

Tested by 6

testSetCMethod · 0.76
testSetCMethod · 0.36