MCPcopy Create free account
hub / github.com/cvanaret/Uno / SparseVector

Method SparseVector

uno/linear_algebra/SparseVector.hpp:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 // SparseVector methods
70 template <typename ElementType>
71 SparseVector<ElementType>::SparseVector(size_t capacity) {
72 this->reserve(capacity);
73 }
74
75 template <typename ElementType>
76 size_t SparseVector<ElementType>::size() const {

Callers

nothing calls this directly

Calls 1

reserveMethod · 0.95

Tested by

no test coverage detected