1#ifndef STAN_MATH_PRIM_FUN_NORM_HPP
2#define STAN_MATH_PRIM_FUN_NORM_HPP
18inline V
norm(
const std::complex<V>& z) {
V complex_norm(const std::complex< V > &z)
Return the squared magnitude of the complex argument.
fvar< T > norm(const std::complex< fvar< T > > &z)
Return the squared magnitude of the complex argument.
fvar< T > square(const fvar< T > &x)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...