1 # ifndef CPPAD_CORE_AD_IO_HPP
2 # define CPPAD_CORE_AD_IO_HPP
177 template <
class Base>
199 template <
class Base>
201 std::ostream& operator << (std::ostream &os, const AD<Base> &x)
202 {
return (os << x.value_); }
217 template <
class Base>
219 std::ostream& operator << (std::ostream &os, const VecAD_reference<Base> &x)
220 {
return (os << x.ADBase()); }
#define CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
A version of the inline command that works with MC compiler.
#define CPPAD_ASSERT_UNKNOWN(exp)
Check that exp is true, if not terminate execution.
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool Parameter(const AD< Base > &x)
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION std::istream & operator>>(std::istream &is, AD< Base > &x)
Read an AD<Base> object from an input stream.