MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / operator-

Method operator-

src/ap.cpp:46–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44{ return lhs; }
45
46const ap::complex ap::operator-(const ap::complex& lhs)
47{ return ap::complex(-lhs.x, -lhs.y); }
48
49const ap::complex ap::operator+(const ap::complex& lhs, const ap::complex& rhs)
50{ ap::complex r = lhs; r += rhs; return r; }

Callers

nothing calls this directly

Calls 1

complexClass · 0.85

Tested by

no test coverage detected