Automatic Differentiation
 
Loading...
Searching...
No Matches
proj.hpp File Reference
#include <stan/math/prim/fun/is_inf.hpp>
#include <complex>
#include <limits>

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>
std::complex< V > stan::math::proj (const std::complex< V > &z)
 Return the projection of the complex argument onto the Riemann sphere.
 
template<typename V >
std::complex< V > stan::math::internal::complex_proj (const std::complex< V > &z)
 Return the projection of the complex argument onto the Riemann sphere.