QUDA  0.9.0
Public Types | Public Member Functions | List of all members
quda::complex< float > Struct Template Reference

#include <complex_quda.h>

Inheritance diagram for quda::complex< float >:
Inheritance graph
[legend]
Collaboration diagram for quda::complex< float >:
Collaboration graph
[legend]

Public Types

typedef float value_type
 

Public Member Functions

__host__ __device__ complex ()
 
__host__ __device__ complex (const float &re, const float &im=float())
 
__host__ __device__ complex (const complex< float > &z)
 
__host__ __device__ complex (cuFloatComplex z)
 
template<class X >
 complex (const std::complex< X > &z)
 
template<typename T >
__host__ __device__ volatile complex< float > & operator= (const complex< T > z) volatile
 
template<typename T >
__host__ __device__ complex< float > & operator= (const complex< T > z)
 
__host__ __device__ complex< float > & operator+= (const complex< float > z)
 
__host__ __device__ complex< float > & operator-= (const complex< float > z)
 
__host__ __device__ complex< float > & operator*= (const complex< float > z)
 
__host__ __device__ complex< float > & operator/= (const complex< float > z)
 
__host__ __device__ complex< float > & operator*= (const float z)
 
__host__ __device__ complex (const volatile complex< float > &z)
 
__host__ __device__ float real () const volatile
 
__host__ __device__ float imag () const volatile
 
__host__ __device__ float real () const
 
__host__ __device__ float imag () const
 
__host__ __device__ void real (float re) volatile
 
__host__ __device__ void imag (float im) volatile
 
__host__ __device__ void real (float re)
 
__host__ __device__ void imag (float im)
 
 operator std::complex< float > () const
 
template<typename T >
__host__ __device__ operator complex< T > () const
 

Detailed Description

template<>
struct quda::complex< float >

Definition at line 443 of file complex_quda.h.

Member Typedef Documentation

◆ value_type

Definition at line 446 of file complex_quda.h.

Constructor & Destructor Documentation

◆ complex() [1/6]

__host__ __device__ quda::complex< float >::complex ( )
inline

Definition at line 448 of file complex_quda.h.

◆ complex() [2/6]

__host__ __device__ quda::complex< float >::complex ( const float re,
const float im = float() 
)
inline

Definition at line 450 of file complex_quda.h.

◆ complex() [3/6]

__host__ __device__ quda::complex< float >::complex ( const complex< float > &  z)
inline

Definition at line 459 of file complex_quda.h.

◆ complex() [4/6]

__host__ __device__ quda::complex< float >::complex ( cuFloatComplex  z)
inline

Definition at line 463 of file complex_quda.h.

◆ complex() [5/6]

template<class X >
quda::complex< float >::complex ( const std::complex< X > &  z)
inline

Definition at line 467 of file complex_quda.h.

References z.

◆ complex() [6/6]

__host__ __device__ quda::complex< float >::complex ( const volatile complex< float > &  z)
inline

Definition at line 531 of file complex_quda.h.

References z.

Member Function Documentation

◆ imag() [1/4]

__host__ __device__ float quda::complex< float >::imag ( ) const volatile
inline

Definition at line 538 of file complex_quda.h.

References y.

◆ imag() [2/4]

__host__ __device__ float quda::complex< float >::imag ( ) const
inline

Definition at line 540 of file complex_quda.h.

References y.

◆ imag() [3/4]

__host__ __device__ void quda::complex< float >::imag ( float  im) volatile
inline

Definition at line 542 of file complex_quda.h.

References y.

◆ imag() [4/4]

__host__ __device__ void quda::complex< float >::imag ( float  im)
inline

Definition at line 544 of file complex_quda.h.

References y.

◆ operator complex< T >()

template<typename T >
__host__ __device__ quda::complex< float >::operator complex< T > ( ) const
inline

Definition at line 549 of file complex_quda.h.

◆ operator std::complex< float >()

quda::complex< float >::operator std::complex< float > ( ) const
inline

Definition at line 547 of file complex_quda.h.

◆ operator*=() [1/2]

__host__ __device__ complex<float>& quda::complex< float >::operator*= ( const complex< float z)
inline

Definition at line 509 of file complex_quda.h.

References z.

◆ operator*=() [2/2]

__host__ __device__ complex<float>& quda::complex< float >::operator*= ( const float  z)
inline

Definition at line 523 of file complex_quda.h.

References x, y, and z.

◆ operator+=()

__host__ __device__ complex<float>& quda::complex< float >::operator+= ( const complex< float z)
inline

Definition at line 493 of file complex_quda.h.

References z.

◆ operator-=()

__host__ __device__ complex<float>& quda::complex< float >::operator-= ( const complex< float z)
inline

Definition at line 501 of file complex_quda.h.

References z.

◆ operator/=()

__host__ __device__ complex<float>& quda::complex< float >::operator/= ( const complex< float z)
inline

Definition at line 516 of file complex_quda.h.

References z.

◆ operator=() [1/2]

template<typename T >
__host__ __device__ volatile complex<float>& quda::complex< float >::operator= ( const complex< T >  z) volatile
inline

Definition at line 476 of file complex_quda.h.

References z.

◆ operator=() [2/2]

template<typename T >
__host__ __device__ complex<float>& quda::complex< float >::operator= ( const complex< T >  z)
inline

Definition at line 485 of file complex_quda.h.

References z.

◆ real() [1/4]

__host__ __device__ float quda::complex< float >::real ( ) const volatile
inline

Definition at line 537 of file complex_quda.h.

References x.

◆ real() [2/4]

__host__ __device__ float quda::complex< float >::real ( ) const
inline

Definition at line 539 of file complex_quda.h.

References x.

◆ real() [3/4]

__host__ __device__ void quda::complex< float >::real ( float  re) volatile
inline

Definition at line 541 of file complex_quda.h.

References x.

◆ real() [4/4]

__host__ __device__ void quda::complex< float >::real ( float  re)
inline

Definition at line 543 of file complex_quda.h.

References x.


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