MCPcopy Create free account
hub / github.com/cvanaret/Uno / operator*

Method operator*

uno/linear_algebra/SparseVector.hpp:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 iterator(const SparseVector& vector, size_t index): vector(vector), index(index) { }
23
24 value_type operator*() const {
25 return {this->vector.indices[this->index], this->vector.values[this->index]};
26 }
27
28 iterator& operator++() {
29 ++this->index;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected