1 #ifndef STAN__AGRAD__FWD__FVAR__HPP
2 #define STAN__AGRAD__FWD__FVAR__HPP
5 #include <boost/math/special_functions/fpclassify.hpp>
24 template <
typename TV,
typename TD>
31 template <
typename TV>
39 template <
typename T2>
48 template <
typename T2>
56 template <
typename T2>
65 template <
typename T2>
73 template <
typename T2>
82 template <
typename T2>
92 template <
typename T2>
101 template <
typename T2>
140 operator<<(std::ostream& os, const fvar<T>& v) {
141 return os << v.
val_ <<
':' << v.d_;
bool isnan(const stan::agrad::var &v)
Checks if the given number is NaN.
fvar< T > & operator/=(const fvar< T2 > &x2)
fvar< T > operator++(int)
fvar< T > & operator-=(const fvar< T2 > &x2)
fvar< T > & operator+=(const T2 &x2)
fvar< T > & operator/=(const T2 &x2)
fvar< T > operator--(int)
fvar(const TV &val, const TD &deriv)
fvar< T > & operator-=(const T2 &x2)
fvar< T > & operator*=(const fvar< T2 > &x2)
fvar< T > & operator*=(const T2 &x2)
fvar< T > & operator+=(const fvar< T2 > &x2)