MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / csqr

Method csqr

src/ap.cpp:146–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144{ return ap::complex(z.x, -z.y); }
145
146const ap::complex ap::csqr(const ap::complex &z)
147{ return ap::complex(z.x*z.x-z.y*z.y, 2*z.x*z.y); }
148
149
150/********************************************************************

Callers

nothing calls this directly

Calls 1

complexClass · 0.85

Tested by

no test coverage detected