Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meshcapade/difflocks
/ nnz
Method
nnz
extensions/include/cuMat/src/SparseMatrixBase.h:441–441 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
439
* \return the number of non-zeros
440
*/
441
__host__ __device__ CUMAT_STRONG_INLINE Index nnz() const { return sparsity_.getNNZ() * batches_; }
442
443
/**
444
* \brief Returns the number of non-zero coefficients in this matrix.
Callers
nothing calls this directly
Calls
1
getNNZ
Method · 0.45
Tested by
no test coverage detected