MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / vector_2d_view

Function vector_2d_view

source/matplot/util/common.h:626–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624 }
625 std::size_t size() const { return _sz; }
626 vector_2d_view(const vector_2d &vec)
627 : _vec(vec), _sz(calculate_size(vec)) {}
628
629 double operator()(std::size_t i, std::size_t j) {
630 return _vec.at(i).at(j);

Callers 1

from_vector_2dFunction · 0.85

Calls 1

calculate_sizeFunction · 0.85

Tested by

no test coverage detected