thrust::pow#
Overloads#
pow(x, y)#
-
template<typename T0, typename T1>
complex<::cuda::std::common_type_t<T0, T1>> thrust::pow(
)# Returns a
complexnumber raised to another.The value types of the two
complextypes should be compatible and the type of the returnedcomplexis the promoted type of the two arguments.- Parameters:
x – The base.
y – The exponent.
pow(x, y)#
-
template<typename T0, typename T1>
complex<::cuda::std::common_type_t<T0, T1>> thrust::pow(
)# Returns a
complexnumber raised to a scalar.The value type of the
complexshould be compatible with the scalar and the type of the returnedcomplexis the promoted type of the two arguments.- Parameters:
x – The base.
y – The exponent.
pow(x, y)#
-
template<typename T0, typename T1>
complex<::cuda::std::common_type_t<T0, T1>> thrust::pow(
)# Returns a scalar raised to a
complexnumber.The value type of the
complexshould be compatible with the scalar and the type of the returnedcomplexis the promoted type of the two arguments.- Parameters:
x – The base.
y – The exponent.