1#ifndef STAN_MATH_FWD_FUN_POLAR_HPP
2#define STAN_MATH_FWD_FUN_POLAR_HPP
38template <
typename T,
typename U>
52template <
typename T,
typename U>
complex_return_t< U, V > complex_polar(const U &r, const V &theta)
Returns complex number with specified magnitude and phase angle.
std::complex< fvar< T > > polar(const fvar< T > &r, const fvar< T > &theta)
Returns complex number with specified magnitude and phase angle.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
This template class represents scalars used in forward-mode automatic differentiation,...