operator/
#
Overloads#
operator/(x, y)
#
-
template<typename T0, typename T1>
complex<::cuda::std::common_type_t<T0, T1>> thrust::operator/(
)# Divides two
complex
numbers.The value types of the two
complex
types should be compatible and the type of the returnedcomplex
is the promoted type of the two arguments.- Parameters:
x – The numerator (dividend).
y – The denominator (divisor).
operator/(x, y)
#
-
template<typename T0, typename T1>
complex<::cuda::std::common_type_t<T0, T1>> thrust::operator/(
)# Divides a
complex
number by a scalar.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 complex numerator (dividend).
y – The scalar denominator (divisor).
operator/(x, y)
#
-
template<typename T0, typename T1>
complex<::cuda::std::common_type_t<T0, T1>> thrust::operator/(
)# Divides a scalar by 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 scalar numerator (dividend).
y – The complex denominator (divisor).