algorithmfoundry / Foundry

The Cognitive Foundry is an open-source Java library for building intelligent systems using machine learning
Other
131 stars 41 forks source link

Expose method to get number of active elements in a vector and matrix #55

Closed jbasilico closed 8 years ago

jbasilico commented 8 years ago

Currently it is in the SparseVector implementation but not available in the Vector interface.

jbasilico commented 8 years ago

Also should add one for sparse matrices.