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

Function getSublist

tests/utils/lists.cpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52vector<int> getSublist(vector<int> list, int start, int len) {
53
54 return vector<int>(list.begin() + start, list.begin() + start + len);
55}
56
57
58vector<qcomp> getSublist(vector<qcomp> list, int start, int len) {

Callers 3

nextMethod · 0.85
SECTIONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected