QUDA  v1.1.0
A library for QCD on GPUs
Public Types | Public Member Functions | List of all members
quda::complex< int > Struct Reference

#include <complex_quda.h>

+ Inheritance diagram for quda::complex< int >:

Public Types

typedef int value_type
 

Public Member Functions

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

Detailed Description

Definition at line 799 of file complex_quda.h.

Member Typedef Documentation

◆ value_type

typedef int quda::complex< int >::value_type

Definition at line 802 of file complex_quda.h.

Constructor & Destructor Documentation

◆ complex() [1/3]

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

Definition at line 804 of file complex_quda.h.

◆ complex() [2/3]

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

Definition at line 806 of file complex_quda.h.

◆ complex() [3/3]

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

Definition at line 812 of file complex_quda.h.

Member Function Documentation

◆ imag() [1/4]

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

Definition at line 831 of file complex_quda.h.

◆ imag() [2/4]

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

Definition at line 829 of file complex_quda.h.

◆ imag() [3/4]

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

Definition at line 835 of file complex_quda.h.

◆ imag() [4/4]

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

Definition at line 833 of file complex_quda.h.

◆ operator complex< T >()

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

Definition at line 840 of file complex_quda.h.

◆ operator std::complex< int >()

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

Definition at line 838 of file complex_quda.h.

◆ operator+=()

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

Definition at line 814 of file complex_quda.h.

◆ operator-=()

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

Definition at line 821 of file complex_quda.h.

◆ real() [1/4]

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

Definition at line 830 of file complex_quda.h.

◆ real() [2/4]

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

Definition at line 828 of file complex_quda.h.

◆ real() [3/4]

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

Definition at line 834 of file complex_quda.h.

◆ real() [4/4]

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

Definition at line 832 of file complex_quda.h.


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