MCPcopy Create free account
hub / github.com/30hours/blah2 / Map

Method Map

src/data/Map.cpp:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12// constructor
13template <class T>
14Map<T>::Map(uint32_t _nRows, uint32_t _nCols)
15{
16 nRows = _nRows;
17 nCols = _nCols;
18 std::vector<std::vector<T>> tmp(nRows, std::vector<T>(nCols, {1}));
19 data = tmp;
20}
21
22template <class T>
23void Map<T>::set_row(uint32_t i, std::vector<T> row)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected