MCPcopy Create free account
hub / github.com/ShiqiYu/CPP / matrix_add

Function matrix_add

week06/examples/function.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32bool matrix_add(const Matrix & matA, const Matrix & matB, Matrix & matC)
33{
34 // check the dimensions of the three matrices
35 // re-create matC if needed
36 // do: matC = matA + matB
37 // return true if everything is right
38 return true;
39}
40
41int main()
42{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected