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

Function from_vector_2d

source/matplot/util/common.h:622–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620 }
621
622 static vector_2d_view from_vector_2d(const vector_2d &vec) {
623 return vector_2d_view(vec);
624 }
625 std::size_t size() const { return _sz; }
626 vector_2d_view(const vector_2d &vec)
627 : _vec(vec), _sz(calculate_size(vec)) {}

Callers 1

init_cache_levelsMethod · 0.85

Calls 1

vector_2d_viewFunction · 0.85

Tested by

no test coverage detected