MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / Combinations

Function Combinations

src/luxcore/kernelcachefill.cpp:285–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285template<class T> static void Combinations(const vector<T> &elems, const u_int size, vector<vector<T> > &result) {
286 vector<T> tmp(size);
287
288 CombinationsImpl(elems, size, result, tmp, 0, elems.size() - 1, 0);
289}
290
291template<class T> static void Combinations(const vector<T> &elems, vector<vector<T> > &result) {
292 for (u_int i = 1; i <= elems.size(); ++i)

Callers 1

KernelCacheFillImplFunction · 0.85

Calls 4

CombinationsImplFunction · 0.85
sizeMethod · 0.45
GetSizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected