Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/fwd/core.hpp>
#include <stan/math/fwd/meta.hpp>
#include <stan/math/fwd/fun/cos.hpp>
#include <stan/math/fwd/fun/is_inf.hpp>
#include <stan/math/fwd/fun/sin.hpp>
#include <stan/math/prim/fun/polar.hpp>
#include <complex>
#include <type_traits>
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. | |
Functions | |
template<typename T > | |
std::complex< fvar< T > > | stan::math::polar (const fvar< T > &r, const fvar< T > &theta) |
Returns complex number with specified magnitude and phase angle. | |
template<typename T , typename U > | |
std::complex< fvar< T > > | stan::math::polar (const fvar< T > &r, U theta) |
Returns complex number with specified magnitude and phase angle. | |
template<typename T , typename U > | |
std::complex< fvar< T > > | stan::math::polar (U r, const fvar< T > &theta) |
Returns complex number with specified magnitude and phase angle. | |