1#ifndef STAN_MATH_FWD_CORE_OPERATOR_DIVISION_HPP 
    2#define STAN_MATH_FWD_CORE_OPERATOR_DIVISION_HPP 
   34template <
typename T, 
typename U, require_arithmetic_t<U>* = 
nullptr>
 
   37                 x1.
d_ / 
static_cast<double>(x2));
 
   48template <
typename T, 
typename U, require_arithmetic_t<U>* = 
nullptr>
 
   51                 -
static_cast<double>(x1) * x2.
d_ / (x2.
val_ * x2.
val_));
 
   56                                       const std::complex<
fvar<T>>& x2) {
 
   59template <
typename T, 
typename U, require_arithmetic_t<U>* = 
nullptr>
 
   61                                       const std::complex<U>& x2) {
 
   69template <
typename T, 
typename U, require_arithmetic_t<U>* = 
nullptr>
 
   74template <
typename T, 
typename U, require_arithmetic_t<U>* = 
nullptr>
 
   75inline std::complex<fvar<T>> 
operator/(
const std::complex<U>& x1,
 
   76                                       const std::complex<
fvar<T>>& x2) {
 
   79template <
typename T, 
typename U, require_arithmetic_t<U>* = 
nullptr>
 
   80inline std::complex<fvar<T>> 
operator/(
const std::complex<U>& x1,
 
   87                                       const std::complex<
fvar<T>>& x2) {
 
   90template <
typename T, 
typename U,
 
   91          typename = std::enable_if_t<std::is_arithmetic<U>::value>>
 
   93                                       const std::complex<U>& x2) {
 
   97template <
typename T, 
typename U, require_arithmetic_t<U>* = 
nullptr>
 
complex_return_t< U, V > complex_divide(const U &lhs, const V &rhs)
Return the quotient of the specified arguments.
 
fvar< T > operator/(const fvar< T > &x1, const fvar< T > &x2)
Return the result of dividing the first argument by the second.
 
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
 
Scalar val_
The value of this variable.
 
Scalar d_
The tangent (derivative) of this variable.
 
This template class represents scalars used in forward-mode automatic differentiation,...