MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / getCompMatr2

Function getCompMatr2

quest/src/api/matrices.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57CompMatr2 getCompMatr2(vector<vector<qcomp>> in) {
58 validate_matrixNumNewElems(2, in, __func__);
59
60 qcomp* rowPtrs[] = {in[0].data(), in[1].data(), in[2].data(), in[3].data()};
61 return getCompMatr2(rowPtrs);
62}
63
64
65DiagMatr1 getDiagMatr1(vector<qcomp> in) {

Calls 1

Tested by

no test coverage detected