ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
POCKETFFT_NAMESPACE::detail::cmplx< T > Struct Template Reference

#include <pocketfft_hdronly.h>

Detailed Description

template<typename T>
struct POCKETFFT_NAMESPACE::detail::cmplx< T >

Definition at line 271 of file pocketfft_hdronly.h.

Public Member Functions

 cmplx ()=default
 
 cmplx (T r_, T i_)
 
template<typename T2>
auto operator* (const cmplx< T2 > &other) const -> cmplx< decltype(r+other.r)>
 
template<typename T2>
auto operator* (const T2 &other) const -> cmplx< decltype(r *other)>
 
template<typename T2>
cmplxoperator*= (const cmplx< T2 > &other)
 
template<typename T2>
cmplxoperator*= (T2 other)
 
template<typename T2>
auto operator+ (const cmplx< T2 > &other) const -> cmplx< decltype(r+other.r)>
 
cmplxoperator+= (const cmplx &other)
 
template<typename T2>
cmplxoperator+= (const cmplx< T2 > &other)
 
template<typename T2>
auto operator- (const cmplx< T2 > &other) const -> cmplx< decltype(r+other.r)>
 
template<typename T2>
cmplxoperator-= (const cmplx< T2 > &other)
 
void Set (T r_)
 
void Set (T r_, T i_)
 
template<bool fwd, typename T2>
auto special_mul (const cmplx< T2 > &other) const -> cmplx< decltype(r+other.r)>
 

Public Attributes

i
 
r
 

Constructor & Destructor Documentation

◆ cmplx() [1/2]

template<typename T>
POCKETFFT_NAMESPACE::detail::cmplx< T >::cmplx ( )
default

◆ cmplx() [2/2]

template<typename T>
POCKETFFT_NAMESPACE::detail::cmplx< T >::cmplx ( T r_,
T i_ )
inline

Definition at line 274 of file pocketfft_hdronly.h.

Member Function Documentation

◆ operator*() [1/2]

template<typename T>
template<typename T2>
auto POCKETFFT_NAMESPACE::detail::cmplx< T >::operator* ( const cmplx< T2 > & other) const -> cmplx<decltype(r+other.r)>
inline

Definition at line 301 of file pocketfft_hdronly.h.

◆ operator*() [2/2]

template<typename T>
template<typename T2>
auto POCKETFFT_NAMESPACE::detail::cmplx< T >::operator* ( const T2 & other) const -> cmplx<decltype(r*other)>
inline

Definition at line 292 of file pocketfft_hdronly.h.

◆ operator*=() [1/2]

template<typename T>
template<typename T2>
cmplx & POCKETFFT_NAMESPACE::detail::cmplx< T >::operator*= ( const cmplx< T2 > & other)
inline

Definition at line 281 of file pocketfft_hdronly.h.

◆ operator*=() [2/2]

template<typename T>
template<typename T2>
cmplx & POCKETFFT_NAMESPACE::detail::cmplx< T >::operator*= ( T2 other)
inline

Definition at line 279 of file pocketfft_hdronly.h.

◆ operator+()

template<typename T>
template<typename T2>
auto POCKETFFT_NAMESPACE::detail::cmplx< T >::operator+ ( const cmplx< T2 > & other) const -> cmplx<decltype(r+other.r)>
inline

Definition at line 295 of file pocketfft_hdronly.h.

◆ operator+=() [1/2]

template<typename T>
cmplx & POCKETFFT_NAMESPACE::detail::cmplx< T >::operator+= ( const cmplx< T > & other)
inline

Definition at line 277 of file pocketfft_hdronly.h.

◆ operator+=() [2/2]

template<typename T>
template<typename T2>
cmplx & POCKETFFT_NAMESPACE::detail::cmplx< T >::operator+= ( const cmplx< T2 > & other)
inline

Definition at line 288 of file pocketfft_hdronly.h.

◆ operator-()

template<typename T>
template<typename T2>
auto POCKETFFT_NAMESPACE::detail::cmplx< T >::operator- ( const cmplx< T2 > & other) const -> cmplx<decltype(r+other.r)>
inline

Definition at line 298 of file pocketfft_hdronly.h.

◆ operator-=()

template<typename T>
template<typename T2>
cmplx & POCKETFFT_NAMESPACE::detail::cmplx< T >::operator-= ( const cmplx< T2 > & other)
inline

Definition at line 290 of file pocketfft_hdronly.h.

◆ Set() [1/2]

template<typename T>
void POCKETFFT_NAMESPACE::detail::cmplx< T >::Set ( T r_)
inline

Definition at line 276 of file pocketfft_hdronly.h.

◆ Set() [2/2]

template<typename T>
void POCKETFFT_NAMESPACE::detail::cmplx< T >::Set ( T r_,
T i_ )
inline

Definition at line 275 of file pocketfft_hdronly.h.

◆ special_mul()

template<typename T>
template<bool fwd, typename T2>
auto POCKETFFT_NAMESPACE::detail::cmplx< T >::special_mul ( const cmplx< T2 > & other) const -> cmplx<decltype(r+other.r)>
inline

Definition at line 304 of file pocketfft_hdronly.h.

Member Data Documentation

◆ i

◆ r


The documentation for this struct was generated from the following file: