Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
Complex.h File Reference
#include <hydra/detail/Config.h>
#include <hydra/Types.h>
#include <hydra/detail/external/hydra_thrust/complex.h>
#include <type_traits>
#include <cmath>
#include <complex>
#include <sstream>
#include <hydra/detail/external/hydra_thrust/detail/type_traits.h>
Include dependency graph for Complex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 hydra
 Generic policies definition.
 

Typedefs

template<typename T >
using hydra::complex = hydra::thrust::complex< T >
 

Functions

template<typename T >
__hydra_host__ __hydra_device__hydra::abs (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::acos (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::acosh (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__hydra::arg (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::asin (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::asinh (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::atan (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::atanh (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::conj (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::cos (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::cosh (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::exp (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::log (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::log10 (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__hydra::norm (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ bool hydra::operator!= (const complex< T > &lhs, const complex< T > &rhs)
 
template<typename T >
__hydra_host__ __hydra_device__ bool hydra::operator!= (const T &lhs, const complex< T > &rhs)
 
template<typename T >
__hydra_host__ __hydra_device__ bool hydra::operator!= (const complex< T > &lhs, const T &rhs)
 
template<typename ValueType , class charT , class traits >
std::basic_ostream< charT, traits > & hydra::operator<< (std::basic_ostream< charT, traits > &os, const complex< ValueType > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ bool hydra::operator== (const complex< T > &lhs, const complex< T > &rhs)
 
template<typename T >
__hydra_host__ __hydra_device__ bool hydra::operator== (const T &lhs, const complex< T > &rhs)
 
template<typename T >
__hydra_host__ __hydra_device__ bool hydra::operator== (const complex< T > &lhs, const T &rhs)
 
template<typename ValueType , typename charT , class traits >
std::basic_istream< charT, traits > & hydra::operator>> (std::basic_istream< charT, traits > &is, complex< ValueType > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::polar (const T &m, const T &theta=0)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::pow (const complex< T > &x, const complex< T > &y)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::pow (const complex< T > &x, const T &y)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::pow (const T &x, const complex< T > &y)
 
template<typename T , typename U >
__hydra_host__ __hydra_device__ complex< typename hydra::thrust::detail::promoted_numerical_type< T, U >::type > hydra::pow (const complex< T > &x, const complex< U > &y)
 
template<typename T , typename U >
__hydra_host__ __hydra_device__ complex< typename hydra::thrust::detail::promoted_numerical_type< T, U >::type > hydra::pow (const complex< T > &x, const U &y)
 
template<typename T , typename U >
__hydra_host__ __hydra_device__ complex< typename hydra::thrust::detail::promoted_numerical_type< T, U >::type > hydra::pow (const T &x, const complex< U > &y)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::proj (const T &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::sin (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::sinh (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::sqrt (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::tan (const complex< T > &z)
 
template<typename T >
__hydra_host__ __hydra_device__ complex< T > hydra::tanh (const complex< T > &z)