Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
90
inline double abs2(complex<double> x) {
91
double ax = abs(x);
92
return ax * ax;
93
}
94
95
void bragg_transmission_analytic(double freq_min, double freq_max, int nfreq, double *T,
96
double *R) {
Callers
1
bragg_transmission_analytic
Function · 0.70
Calls
1
abs
Function · 0.85
Tested by
no test coverage detected