MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / Matrix

Method Matrix

pyvrp/cpp/Matrix.h:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62template <typename T>
63Matrix<T>::Matrix(size_t nRows, size_t nCols, T value)
64 : cols_(nCols), rows_(nRows), data_(nRows * nCols, value)
65{
66}
67
68template <typename T>
69Matrix<T>::Matrix(std::vector<T> &&data, size_t nRows, size_t nCols)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected