Stan Math Library
4.9.0
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
4
#include <
stan/math/rev/core.hpp
>
5
#include <
stan/math/rev/fun/is_inf.hpp
>
6
#include <
stan/math/prim/fun/proj.hpp
>
7
#include <
stan/math/prim/fun/is_inf.hpp
>
8
#include <complex>
9
10
namespace
stan
{
11
namespace
math {
12
20
inline
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
stan::math::internal::complex_proj
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
stan::math::proj
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:21
stan
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition
unit_vector_constrain.hpp:15
is_inf.hpp
proj.hpp
core.hpp
is_inf.hpp
stan
math
rev
fun
proj.hpp
[
Stan Home Page
]
© 2011–2019, Stan Development Team.