Automatic Differentiation
 
Loading...
Searching...
No Matches
proj.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_REV_FUN_PROJ_HPP
2#define STAN_MATH_REV_FUN_PROJ_HPP
3
8#include <complex>
9
10namespace stan {
11namespace math {
12
20inline std::complex<var> proj(const std::complex<var>& z) {
21 return internal::complex_proj(z);
22}
23
24} // namespace math
25} // namespace stan
26
27#endif
std::complex< V > complex_proj(const std::complex< V > &z)
Return the projection of the complex argument onto the Riemann sphere.
Definition proj.hpp:33
std::complex< fvar< T > > proj(const std::complex< fvar< T > > &z)
Return the projection of the complex argument onto the Riemann sphere.
Definition proj.hpp:20
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...