thrust

◆ pow() [1/3]

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 
)

Returns a complex number raised to another.

The value types of the two complex types should be compatible and the type of the returned complex is the promoted type of the two arguments.

Parameters
xThe base.
yThe exponent.

Referenced by thrust::complex< T >::operator std::complex< T >().