MCPcopy Create free account
hub / github.com/ShahjalalShohag/code-library / base

Method base

Math/Subset Sum Problem.cpp:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6struct base {
7 double x, y;
8 base() { x = y = 0; }
9 base(double x, double y): x(x), y(y) { }
10};
11inline base operator + (base a, base b) { return base(a.x + b.x, a.y + b.y); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected