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

Function _setInlineFullStateDiagMatr

quest/include/matrices.h:1087–1090  ·  view source on GitHub ↗

@private

Source from the content-addressed store, hash-verified

1085
1086 /// @private
1087 static inline void _setInlineFullStateDiagMatr(FullStateDiagMatr matr, qindex startInd, qindex numElems, qcomp elems[numElems]) {
1088 _validateParamsToSetInlineFullStateDiagMatr(matr, startInd, numElems);
1089 setFullStateDiagMatr(matr, startInd, elems, numElems); // 1D array decays into pointer, validation gauranteed to pass
1090 }
1091
1092
1093 // happily, macro arg 'numQb' must be a compile-time constant, so there is no risk of

Callers

nothing calls this directly

Tested by

no test coverage detected