thrust::pow
Defined in thrust/complex.h
-
template<typename T0, typename T1>
complex<::cuda::std::__common_type_t<T0, T1>> thrust::pow(const T0 &x, const complex<T1> &y) Returns a scalar raised to a
complex
number.The value type of the
complex
should be compatible with the scalar and the type of the returnedcomplex
is the promoted type of the two arguments.- Parameters
x – The base.
y – The exponent.