Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/cos.hpp>
#include <stan/math/prim/fun/is_inf.hpp>
#include <stan/math/prim/fun/sin.hpp>
#include <cmath>
#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 U , typename V > | |
complex_return_t< U, V > | stan::math::internal::complex_polar (const U &r, const V &theta) |
Returns complex number with specified magnitude and phase angle. | |
template<typename U , typename V , require_all_arithmetic_t< U, V > * = nullptr> | |
std::complex< double > | stan::math::polar (U r, V theta) |
Returns the complex number with specified magnitude and phase angle. | |