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

Function getRange

tests/utils/lists.cpp:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69
70vector<int> getRange(int start, int endExcl) {
71 DEMAND( endExcl >= start );
72
73 vector<int> out(endExcl - start);
74
75 for (size_t i=0; i<out.size(); i++)
76 out[i] = start + i;
77
78 return out;
79}
80
81
82vector<int> getRange(int endExcl) {

Callers 4

getRandomSubRangeFunction · 0.85
getMatrixFunction · 0.85
testOperationValidationFunction · 0.85
SECTIONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected