1#ifndef STAN_MATH_PRIM_FUN_IMAG_HPP
2#define STAN_MATH_PRIM_FUN_IMAG_HPP
17template <
typename T, require_autodiff_t<T>>
18T
imag(
const std::complex<T>& z) {
T imag(const std::complex< T > &z)
Return the imaginary component of the complex argument.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...