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

Function setCompMatr

quest/src/api/matrices.cpp:423–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421
422
423extern "C" void setCompMatr(CompMatr out, qcomp** in) {
424 validate_matrixFields(out, __func__);
425 validate_matrixNewElemsPtrNotNull(in, out.numRows, __func__);
426
427 setAndSyncDenseMatrElems(out, in);
428}
429
430
431extern "C" void setDiagMatr(DiagMatr out, qcomp* in) {

Callers 7

SECTIONFunction · 0.85
_setCompMatrFromArrFunction · 0.85
demo_setCompMatrFunction · 0.85
demo_setCompMatrFunction · 0.85

Calls 4

validate_matrixFieldsFunction · 0.85
setAndSyncDenseMatrElemsFunction · 0.85

Tested by

no test coverage detected