r2c#

Return the full spectrum from an R2C transform

template<typename T1>
auto matx::r2c(T1 t, index_t orig)#

Returns the full spectrum from an R2C transform

cuFFT’s R2C FFTs only return half the spectrum since the other half is the complex conjugate of the first half. This operator returns the full spectrum from the output of an R2C FFT.

Template Parameters:

T1 – Type of View/Op

Parameters:
  • t – View/Op to shift

  • orig – Original size. Needed to disambiguate between integer division giving same output size