1#ifndef STAN_MATH_PRIM_CORE_OPERATOR_MINUS_HPP
2#define STAN_MATH_PRIM_CORE_OPERATOR_MINUS_HPP
17template <
typename U, require_autodiff_t<U>>
18inline std::complex<U>
operator-(
const std::complex<U>& x) {
19 return {-x.real(), -x.imag()};
fvar< T > operator-(const fvar< T > &x1, const fvar< T > &x2)
Return the difference of the specified arguments.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...