MCPcopy Create free account
hub / github.com/ShahjalalShohag/code-library / Mat

Method Mat

Math/Freivalds Algorithm.cpp:9–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 int n, m;
8 vector< vector<int> > a;
9 Mat() { }
10 Mat(int _n, int _m) {n = _n; m = _m; a.assign(n, vector<int>(m, 0)); }
11 Mat(vector< vector<int> > v) { n = v.size(); m = n ? v[0].size() : 0; a = v; }
12 inline void make_unit() {

Callers

nothing calls this directly

Calls 2

assignMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected