Thrust
thrust
square
argument_type
operator()
result_type
◆
operator()()
template<typename T = void>
__thrust_exec_check_disable__ __host__ __device__ constexpr T
thrust::square
< T >::operator()
(
const T &
x
)
const
Function call operator. The return value is
x*x
.
Generated by
1.8.13