thrust
Classes | Macros | Typedefs | Functions | Variables
Complex Numbers

Classes

struct  thrust::complex< T >
 

Macros

#define THRUST_DEFINE_COMPLEX_STORAGE_SPECIALIZATION(X)
 

Typedefs

typedef T thrust::complex< T >::value_type
 

Functions

 thrust::detail::complex_storage< T, 1 >::__declspec (align(1)) struct type
 
 thrust::detail::complex_storage< T, 2 >::__declspec (align(2)) struct type
 
 thrust::detail::complex_storage< T, 4 >::__declspec (align(4)) struct type
 
 thrust::detail::complex_storage< T, 8 >::__declspec (align(8)) struct type
 
 thrust::detail::complex_storage< T, 16 >::__declspec (align(16)) struct type
 
 thrust::detail::complex_storage< T, 32 >::__declspec (align(32)) struct type
 
 thrust::detail::complex_storage< T, 64 >::__declspec (align(64)) struct type
 
 thrust::detail::complex_storage< T, 128 >::__declspec (align(128)) struct type
 
__host__ __device__ thrust::complex< T >::complex (const T &re)
 
__host__ __device__ thrust::complex< T >::complex (const T &re, const T &im)
 
__host__ __device__ thrust::complex< T >::complex ()
 
__host__ __device__ thrust::complex< T >::complex (const complex< T > &z)
 
template<typename U >
__host__ __device__ thrust::complex< T >::complex (const complex< U > &z)
 
__host__ thrust::complex< T >::complex (const std::complex< T > &z)
 
template<typename U >
__host__ thrust::complex< T >::complex (const std::complex< U > &z)
 
__host__ __device__ complexthrust::complex< T >::operator= (const T &re)
 
__host__ __device__ complexthrust::complex< T >::operator= (const complex< T > &z)
 
template<typename U >
__host__ __device__ complexthrust::complex< T >::operator= (const complex< U > &z)
 
__host__ complexthrust::complex< T >::operator= (const std::complex< T > &z)
 
template<typename U >
__host__ complexthrust::complex< T >::operator= (const std::complex< U > &z)
 
template<typename U >
__host__ __device__ complex< T > & thrust::complex< T >::operator+= (const complex< U > &z)
 
template<typename U >
__host__ __device__ complex< T > & thrust::complex< T >::operator-= (const complex< U > &z)
 
template<typename U >
__host__ __device__ complex< T > & thrust::complex< T >::operator*= (const complex< U > &z)
 
template<typename U >
__host__ __device__ complex< T > & thrust::complex< T >::operator/= (const complex< U > &z)
 
template<typename U >
__host__ __device__ complex< T > & thrust::complex< T >::operator+= (const U &z)
 
template<typename U >
__host__ __device__ complex< T > & thrust::complex< T >::operator-= (const U &z)
 
template<typename U >
__host__ __device__ complex< T > & thrust::complex< T >::operator*= (const U &z)
 
template<typename U >
__host__ __device__ complex< T > & thrust::complex< T >::operator/= (const U &z)
 
__host__ __device__ T thrust::complex< T >::real () const volatile
 
__host__ __device__ T thrust::complex< T >::imag () const volatile
 
__host__ __device__ T thrust::complex< T >::real () const
 
__host__ __device__ T thrust::complex< T >::imag () const
 
__host__ __device__ void thrust::complex< T >::real (T re) volatile
 
__host__ __device__ void thrust::complex< T >::imag (T im) volatile
 
__host__ __device__ void thrust::complex< T >::real (T re)
 
__host__ __device__ void thrust::complex< T >::imag (T im)
 
__host__ thrust::complex< T >::operator std::complex< T > () const
 
template<typename T >
__host__ __device__ T thrust::abs (const complex< T > &z)
 
template<typename T >
__host__ __device__ T thrust::arg (const complex< T > &z)
 
template<typename T >
__host__ __device__ T thrust::norm (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::conj (const complex< T > &z)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::polar (const T0 &m, const T1 &theta=T1())
 
template<typename T >
__host__ __device__ complex< T > thrust::proj (const T &z)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator+ (const complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator+ (const complex< T0 > &x, const T1 &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator+ (const T0 &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator- (const complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator- (const complex< T0 > &x, const T1 &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator- (const T0 &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator* (const complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator* (const complex< T0 > &x, const T1 &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator* (const T0 &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator/ (const complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator/ (const complex< T0 > &x, const T1 &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::operator/ (const T0 &x, const complex< T1 > &y)
 
template<typename T >
__host__ __device__ complex< T > thrust::operator+ (const complex< T > &y)
 
template<typename T >
__host__ __device__ complex< T > thrust::operator- (const complex< T > &y)
 
template<typename T >
__host__ __device__ complex< T > thrust::exp (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::log (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::log10 (const complex< T > &z)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::pow (const complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::pow (const complex< T0 > &x, const T1 &y)
 
template<typename T0 , typename T1 >
__host__ __device__ complex< typename detail::promoted_numerical_type< T0, T1 >::type > thrust::pow (const T0 &x, const complex< T1 > &y)
 
template<typename T >
__host__ __device__ complex< T > thrust::sqrt (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::cos (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::sin (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::tan (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::cosh (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::sinh (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::tanh (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::acos (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::asin (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::atan (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::acosh (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::asinh (const complex< T > &z)
 
template<typename T >
__host__ __device__ complex< T > thrust::atanh (const complex< T > &z)
 
template<typename T , typename CharT , typename Traits >
std::basic_ostream< CharT, Traits > & thrust::operator<< (std::basic_ostream< CharT, Traits > &os, const complex< T > &z)
 
template<typename T , typename CharT , typename Traits >
__host__ std::basic_istream< CharT, Traits > & thrust::operator>> (std::basic_istream< CharT, Traits > &is, complex< T > &z)
 
template<typename T0 , typename T1 >
__host__ __device__ bool thrust::operator== (const complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ bool thrust::operator== (const complex< T0 > &x, const std::complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ bool thrust::operator== (const std::complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ bool thrust::operator== (const T0 &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ bool thrust::operator== (const complex< T0 > &x, const T1 &y)
 
template<typename T0 , typename T1 >
__host__ __device__ bool thrust::operator!= (const complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ bool thrust::operator!= (const complex< T0 > &x, const std::complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ bool thrust::operator!= (const std::complex< T0 > &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ bool thrust::operator!= (const T0 &x, const complex< T1 > &y)
 
template<typename T0 , typename T1 >
__host__ __device__ bool thrust::operator!= (const complex< T0 > &x, const T1 &y)
 

Variables

thrust::detail::complex_storage< T, Align >::x
 
thrust::detail::complex_storage< T, Align >::y
 

Detailed Description