MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / operator -

Method operator -

3rd_party/Src/ode/ode/src/mat.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136
137dMatrix dMatrix::operator - (const dMatrix &a)
138{
139 if (n != a.n || m != a.m) dDebug (0,"matrix -, mismatched sizes");
140 dMatrix r (n,m);
141 for (int i=0; i<n*m; i++) r.data[i] = data[i] - a.data[i];
142 return r;
143}
144
145
146dMatrix dMatrix::operator - ()

Callers

nothing calls this directly

Calls 1

dDebugFunction · 0.85

Tested by

no test coverage detected