Template Function thrust::norm¶
Defined in File complex.h
Function Documentation¶
-
template<typename T>__host__ __device__ T thrust::norm(const complex < T > & z)
Returns the square of the magnitude of a
complex
.- Parameters
z
: Thecomplex
from which to calculate the norm.