MCPcopy Create free account
hub / github.com/andrewreeman/SpectralSuite / float2Cpx

Method float2Cpx

shared/StandardFFTProcessor.cpp:185–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185void StandardFFTProcessor::float2Cpx(const std::vector<FftDecimal>& inFloat, std::vector<Cpx>& outCpx){
186 for(int i=0; i<m_fftSize; ++i){
187 outCpx[(size_t)i].real(inFloat[(size_t)i]);
188 outCpx[(size_t)i].imag(0.f);
189 }
190}
191
192void StandardFFTProcessor::cpx2Float(const std::vector<Cpx>& inCpx, std::vector<FftDecimal>& outFloat){
193 for(int i=0; i<m_fftSize; ++i){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected