MCPcopy Create free account
hub / github.com/NanoComp/meep / abs2

Function abs2

tests/bragg_transmission.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90inline double abs2(complex<double> x) {
91 double ax = abs(x);
92 return ax * ax;
93}
94
95void bragg_transmission_analytic(double freq_min, double freq_max, int nfreq, double *T,
96 double *R) {

Callers 1

Calls 1

absFunction · 0.85

Tested by

no test coverage detected