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

Method Matrix

src/RaceNet/Matrix.h:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102template<class T>
103Matrix<T>::Matrix(int height, int width) {
104 this->height = height;
105 this->width = width;
106 this->array = std::vector<std::vector<T> >(height, std::vector<T>(width));
107}
108
109template<class T>
110Matrix<T>::Matrix(std::vector<std::vector<T> > const &array) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected