1#ifndef CPPAD_CG_ARITHMETIC_AD_INCLUDED
2#define CPPAD_CG_ARITHMETIC_AD_INCLUDED
25inline AD<CG<Base> > operator+(
const CG<Base>& left,
const AD<CG<Base> >& right) {
26 return CppAD::operator+(left, right);
30inline AD<CG<Base> > operator+(
const AD<CG<Base> >& left,
const CG<Base>& right) {
31 return CppAD::operator+(left, right);
35inline AD<CG<Base> > operator-(
const CG<Base>& left,
const AD<CG<Base> >& right) {
36 return CppAD::operator-(left, right);
40inline AD<CG<Base> > operator-(
const AD<CG<Base> >& left,
const CG<Base>& right) {
41 return CppAD::operator-(left, right);
45inline AD<CG<Base> > operator/(
const CG<Base>& left,
const AD<CG<Base> >& right) {
46 return CppAD::operator/(left, right);
50inline AD<CG<Base> > operator/(
const AD<CG<Base> >& left,
const CG<Base>& right) {
51 return CppAD::operator/(left, right);
55inline AD<CG<Base> > operator*(
const CG<Base>& left,
const AD<CG<Base> >& right) {
56 return CppAD::operator*(left, right);
60inline AD<CG<Base> > operator*(
const AD<CG<Base> >& left,
const CG<Base>& right) {
61 return CppAD::operator*(left, right);