1 #ifndef STAN_MATH_FWD_CORE_OPERATOR_LESS_THAN_HPP 2 #define STAN_MATH_FWD_CORE_OPERATOR_LESS_THAN_HPP 20 inline bool operator<(const fvar<T>& x,
const fvar<T>& y) {
21 return x.
val_ < y.val_;
35 inline bool operator<(double x, const fvar<T>& y) {
51 inline bool operator<(const fvar<T>& x,
double y) {
T val_
The value of this variable.
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.