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

◆ norm() [1/3]

template<typename T >
fvar< T > stan::math::norm ( const std::complex< fvar< T > > &  z)
inline

Return the squared magnitude of the complex argument.

Template Parameters
Tvalue type of autodiff variable
Parameters
[in]zargument
Returns
phase squared magnitude of the argument

Definition at line 19 of file norm.hpp.