Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ complex_norm()

template<typename V >
V stan::math::internal::complex_norm ( const std::complex< V > &  z)
inline

Return the squared magnitude of the complex argument.

Template Parameters
Vvalue type of argument
Parameters
[in]zargument
Returns
squared magnitude of the argument

Definition at line 31 of file norm.hpp.