1#ifndef STAN_MATH_PRIM_CORE_OPERATOR_MULTIPLICATION_HPP
2#define STAN_MATH_PRIM_CORE_OPERATOR_MULTIPLICATION_HPP
23template <
typename U,
typename V, require_any_complex_t<U, V>* =
nullptr>
40template <
typename U,
typename V, require_all_stan_scalar_t<U, V>* =
nullptr>
42 const std::complex<V>& y) {
55template <
typename U,
typename V, require_stan_scalar_t<V>* =
nullptr>
69template <
typename U,
typename V, require_stan_scalar_t<U>* =
nullptr>
std::complex< real_return_t< Ts... > > complex_return_t
Convenience type to calculate the complex return type, which wraps std::complex around the return typ...
complex_return_t< U, V > complex_multiply(const U &lhs, const V &rhs)
Return the product of the specified arguments.
fvar< T > operator*(const fvar< T > &x, const fvar< T > &y)
Return the product of the two arguments.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...