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

Function validateAndDestroyMatrix

quest/src/api/matrices.cpp:388–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386// type T can be CompMatr, DiagMatr or FullStateDiagMatr
387template <class T>
388void validateAndDestroyMatrix(T matrix, const char* caller) {
389 validate_matrixFields(matrix, caller);
390
391 freeHeapMatrix(matrix);
392}
393
394
395// de-mangled for C++ and C compatibility

Callers 3

destroyCompMatrFunction · 0.85
destroyDiagMatrFunction · 0.85
destroyFullStateDiagMatrFunction · 0.85

Calls 2

validate_matrixFieldsFunction · 0.85
freeHeapMatrixFunction · 0.85

Tested by

no test coverage detected