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

Function cdouble

src/array_slice.cpp:75–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73/***************************************************************************/
74
75std::complex<double> cdouble(std::complex<float> z) {
76 return std::complex<double>(real(z), imag(z));
77}
78
79std::complex<double> cdouble(std::complex<double> z) { return z; }
80

Callers 11

dot_integrandFunction · 0.85
dot3_max_integrandFunction · 0.85
dot_fx_integrandFunction · 0.85
integrate2Method · 0.85
component_funFunction · 0.85
poynting_funFunction · 0.85
energy_funFunction · 0.85
default_field_funcFunction · 0.85
default_field_rfuncFunction · 0.85
integrateMethod · 0.85
return_the_fieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected