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

◆ norm() [2/3]

template<typename V , require_arithmetic_t< V > * = nullptr>
V stan::math::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 18 of file norm.hpp.