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