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

#include <complex_quda.h>

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

Public Types

typedef int8_t value_type
 

Public Member Functions

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

Detailed Description

Definition at line 707 of file complex_quda.h.

Member Typedef Documentation

◆ value_type

typedef int8_t quda::complex< int8_t >::value_type

Definition at line 709 of file complex_quda.h.

Constructor & Destructor Documentation

◆ complex() [1/3]

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

Definition at line 711 of file complex_quda.h.

◆ complex() [2/3]

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

Definition at line 713 of file complex_quda.h.

◆ complex() [3/3]

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

Definition at line 719 of file complex_quda.h.

Member Function Documentation

◆ imag() [1/4]

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

Definition at line 738 of file complex_quda.h.

◆ imag() [2/4]

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

Definition at line 736 of file complex_quda.h.

◆ imag() [3/4]

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

Definition at line 742 of file complex_quda.h.

◆ imag() [4/4]

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

Definition at line 740 of file complex_quda.h.

◆ operator complex< T >()

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

Definition at line 746 of file complex_quda.h.

◆ operator std::complex< int8_t >()

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

Definition at line 745 of file complex_quda.h.

◆ operator+=()

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

Definition at line 721 of file complex_quda.h.

◆ operator-=()

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

Definition at line 728 of file complex_quda.h.

◆ real() [1/4]

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

Definition at line 737 of file complex_quda.h.

◆ real() [2/4]

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

Definition at line 735 of file complex_quda.h.

◆ real() [3/4]

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

Definition at line 741 of file complex_quda.h.

◆ real() [4/4]

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

Definition at line 739 of file complex_quda.h.


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