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

Function util_isApproxNonZero

quest/src/core/utilities.cpp:680–680  ·  view source on GitHub ↗

non-zeroness of fixed-size matrices is always computed afresh

Source from the content-addressed store, hash-verified

678
679// non-zeroness of fixed-size matrices is always computed afresh
680bool util_isApproxNonZero(DiagMatr1 m, qreal eps) { return getWhetherNonZero(m.elems, m.numElems, eps); }
681bool util_isApproxNonZero(DiagMatr2 m, qreal eps) { return getWhetherNonZero(m.elems, m.numElems, eps); }
682
683// non-zeroness of heap matrices is cached

Callers 1

Calls 2

getWhetherNonZeroFunction · 0.85
comm_isTrueOnAllNodesFunction · 0.85

Tested by

no test coverage detected