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

Function getRandomInt

tests/deprecated/test_utilities.cpp:639–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639int getRandomInt(int min, int max) {
640 return (int) round(getRandomReal(min, max-1));
641}
642
643QMatrix getOrthonormalisedRows(QMatrix matr) {
644

Callers 5

test_unitaries.cppFile · 0.70
getRandomPauliStrFunction · 0.70
getRandomDiagPauliStrFunction · 0.70
setRandomPauliSumFunction · 0.70

Calls 1

getRandomRealFunction · 0.70

Tested by

no test coverage detected