QUDA  v0.7.0
A library for QCD on GPUs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 >:

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 (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
 

Detailed Description

template<>
struct quda::complex< float >

Definition at line 435 of file complex_quda.h.

Member Typedef Documentation

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

Definition at line 438 of file complex_quda.h.

Constructor & Destructor Documentation

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

Definition at line 440 of file complex_quda.h.

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

Definition at line 442 of file complex_quda.h.

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

Definition at line 451 of file complex_quda.h.

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

Definition at line 455 of file complex_quda.h.

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

Definition at line 459 of file complex_quda.h.

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

Definition at line 515 of file complex_quda.h.

Member Function Documentation

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

Definition at line 522 of file complex_quda.h.

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

Definition at line 524 of file complex_quda.h.

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

Definition at line 526 of file complex_quda.h.

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

Definition at line 528 of file complex_quda.h.

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

Definition at line 531 of file complex_quda.h.

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

Definition at line 501 of file complex_quda.h.

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

Definition at line 485 of file complex_quda.h.

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

Definition at line 493 of file complex_quda.h.

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

Definition at line 508 of file complex_quda.h.

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

Definition at line 468 of file complex_quda.h.

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

Definition at line 477 of file complex_quda.h.

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

Definition at line 521 of file complex_quda.h.

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

Definition at line 523 of file complex_quda.h.

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

Definition at line 525 of file complex_quda.h.

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

Definition at line 527 of file complex_quda.h.


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