Function destroyDiagonalOp

Source
pub unsafe extern "C" fn destroyDiagonalOp(
    op: DiagonalOp,
    env: QuESTEnv,
)
Expand description

Destroys a ::DiagonalOp created with createDiagonalOp(), freeing its memory.

@see

  • createDiagonalOp()

@ingroup type @param[in] op the ::DiagonalOp to destroy @param[in] env the ::QuESTEnv @throws invalidQuESTInputError()

  • if \p op was not previously created @author Tyson Jones