Automatic Differentiation
 
Loading...
Searching...
No Matches
norm.hpp File Reference
#include <stan/math/prim/fun/isinf.hpp>
#include <cmath>
#include <complex>

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename V , require_arithmetic_t< V > * = nullptr>
stan::math::norm (const std::complex< V > &z)
 Return the squared magnitude of the complex argument.
 
template<typename V >
stan::math::internal::complex_norm (const std::complex< V > &z)
 Return the squared magnitude of the complex argument.