Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/meta/return_type.hpp>
#include <complex>
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 = double, typename S = double, require_all_not_container_t< T, S > * = nullptr> | |
constexpr std::complex< stan::real_return_t< T, S > > | stan::math::to_complex (const T &re=0, const S &im=0) |
Return a complex value from a real component and an imaginary component. | |
template<typename T1 , typename T2 , require_any_container_t< T1, T2 > * = nullptr, require_all_st_stan_scalar< T1, T2 > * = nullptr> | |
auto | stan::math::to_complex (const T1 &re, const T2 &im) |
Return a complex valued container from a real component and an imaginary component. | |