MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / Split

Function Split

linalg/sparsematrix.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48 auto Split (size_t i, int bits)
49 {
50 auto hi = i >> bits;
51 auto lo = i & ((1 << bits) -1);
52 return make_pair(hi,lo);
53 }
54
55
56 MatrixGraph :: MatrixGraph (FlatArray<int> elsperrow, size_t awidth)

Callers 2

SplitMethod · 0.85
MatrixGraphMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected