.. index:: pair: struct; pocketfft::detail::cmplx .. _doxid-structpocketfft_1_1detail_1_1cmplx: template struct pocketfft::detail::cmplx ======================================== .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block template struct cmplx { // fields T :target:`r`; T :target:`i`; // construction :target:`cmplx`(); :target:`cmplx`(T r_, T i_); // methods void :target:`Set`(T r_, T i_); void :target:`Set`(T r_); cmplx& :target:`operator+=`(const cmplx& other); template cmplx& :target:`operator*=`(T2 other); template cmplx& :target:`operator*=`(const cmplx& other); template cmplx& :target:`operator+=`(const cmplx& other); template cmplx& :target:`operator-=`(const cmplx& other); template cmplx :target:`operator*`(const T2& other) const; template cmplx :target:`operator+`(const cmplx& other) const; template cmplx :target:`operator-`(const cmplx& other) const; template cmplx :target:`operator*`(const cmplx& other) const; template cmplx :target:`special_mul`(const cmplx& other) const; };