Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EdwardRaff/JSAT
/ nnz
Method
nnz
JSAT/src/jsat/linear/SparseVector.java:178–182 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
176
}
177
178
@Override
179
public
int
nnz()
180
{
181
return
used;
182
}
183
184
/**
185
* Removes a non zero value by shifting everything to the right over by one
Callers
3
transform
Method · 0.95
SparseVector
Method · 0.45
mutableAdd
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected