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

#include <complex_quda.h>

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

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 (float2 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
 
template<typename otherFloat , typename storeFloat >
__host__ __device__ void operator= (const gauge::fieldorder_wrapper< otherFloat, storeFloat > &a)
 
template<typename otherFloat , typename storeFloat >
__host__ __device__ complex (const gauge::fieldorder_wrapper< otherFloat, storeFloat > &a)
 
template<typename otherFloat , typename storeFloat >
__host__ __device__ void operator= (const colorspinor::fieldorder_wrapper< otherFloat, storeFloat > &a)
 
template<typename otherFloat , typename storeFloat >
__host__ __device__ complex (const colorspinor::fieldorder_wrapper< otherFloat, storeFloat > &a)
 
template<typename otherFloat , typename storeFloat >
__device__ __host__ void operator= (const colorspinor::fieldorder_wrapper< otherFloat, storeFloat > &a)
 
template<typename otherFloat , typename storeFloat >
__device__ __host__ complex (const colorspinor::fieldorder_wrapper< otherFloat, storeFloat > &a)
 
template<typename otherFloat , typename storeFloat >
__device__ __host__ void operator= (const gauge::fieldorder_wrapper< otherFloat, storeFloat > &a)
 
template<typename otherFloat , typename storeFloat >
__device__ __host__ complex (const gauge::fieldorder_wrapper< otherFloat, storeFloat > &a)
 

Detailed Description

Definition at line 458 of file complex_quda.h.

Member Typedef Documentation

◆ value_type

typedef float quda::complex< float >::value_type

Definition at line 461 of file complex_quda.h.

Constructor & Destructor Documentation

◆ complex() [1/10]

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

Definition at line 462 of file complex_quda.h.

◆ complex() [2/10]

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

Definition at line 463 of file complex_quda.h.

◆ complex() [3/10]

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

Definition at line 472 of file complex_quda.h.

◆ complex() [4/10]

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

Definition at line 476 of file complex_quda.h.

◆ complex() [5/10]

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

Definition at line 476 of file complex_quda.h.

◆ complex() [6/10]

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

Definition at line 545 of file complex_quda.h.

◆ complex() [7/10]

template<typename otherFloat , typename storeFloat >
__host__ __device__ quda::complex< float >::complex ( const gauge::fieldorder_wrapper< otherFloat, storeFloat > &  a)
inline

◆ complex() [8/10]

template<typename otherFloat , typename storeFloat >
__host__ __device__ quda::complex< float >::complex ( const colorspinor::fieldorder_wrapper< otherFloat, storeFloat > &  a)
inline

◆ complex() [9/10]

template<typename otherFloat , typename storeFloat >
__device__ __host__ quda::complex< float >::complex ( const colorspinor::fieldorder_wrapper< otherFloat, storeFloat > &  a)
inline

Definition at line 1728 of file color_spinor_field_order.h.

◆ complex() [10/10]

template<typename otherFloat , typename storeFloat >
__device__ __host__ quda::complex< float >::complex ( const gauge::fieldorder_wrapper< otherFloat, storeFloat > &  a)
inline

Definition at line 3136 of file gauge_field_order.h.

Member Function Documentation

◆ imag() [1/4]

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

Definition at line 554 of file complex_quda.h.

◆ imag() [2/4]

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

Definition at line 552 of file complex_quda.h.

◆ imag() [3/4]

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

Definition at line 558 of file complex_quda.h.

◆ imag() [4/4]

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

Definition at line 556 of file complex_quda.h.

◆ operator complex< T >()

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

Definition at line 563 of file complex_quda.h.

◆ operator std::complex< float >()

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

Definition at line 561 of file complex_quda.h.

◆ operator*=() [1/2]

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

Definition at line 523 of file complex_quda.h.

◆ operator*=() [2/2]

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

Definition at line 537 of file complex_quda.h.

◆ operator+=()

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

Definition at line 507 of file complex_quda.h.

◆ operator-=()

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

Definition at line 515 of file complex_quda.h.

◆ operator/=()

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

Definition at line 530 of file complex_quda.h.

◆ operator=() [1/6]

template<typename otherFloat , typename storeFloat >
__device__ __host__ void quda::complex< float >::operator= ( const colorspinor::fieldorder_wrapper< otherFloat, storeFloat > &  a)
inline

Definition at line 1716 of file color_spinor_field_order.h.

◆ operator=() [2/6]

template<typename otherFloat , typename storeFloat >
__host__ __device__ void quda::complex< float >::operator= ( const colorspinor::fieldorder_wrapper< otherFloat, storeFloat > &  a)
inline

◆ operator=() [3/6]

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

Definition at line 499 of file complex_quda.h.

◆ operator=() [4/6]

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

Definition at line 490 of file complex_quda.h.

◆ operator=() [5/6]

template<typename otherFloat , typename storeFloat >
__host__ __device__ void quda::complex< float >::operator= ( const gauge::fieldorder_wrapper< otherFloat, storeFloat > &  a)
inline

◆ operator=() [6/6]

template<typename otherFloat , typename storeFloat >
__device__ __host__ void quda::complex< float >::operator= ( const gauge::fieldorder_wrapper< otherFloat, storeFloat > &  a)
inline

Definition at line 3124 of file gauge_field_order.h.

◆ real() [1/4]

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

Definition at line 553 of file complex_quda.h.

◆ real() [2/4]

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

Definition at line 551 of file complex_quda.h.

◆ real() [3/4]

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

Definition at line 557 of file complex_quda.h.

◆ real() [4/4]

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

Definition at line 555 of file complex_quda.h.


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