00001 /* 00002 * $Id$ 00003 * 00004 * Author: David Fournier 00005 * Copyright (c) 2008-2012 Regents of the University of California 00006 */ 00011 #include <fvar.hpp> 00012 00017 int operator==(double v0, const prevariable& v1) 00018 { 00019 return (v0==value(v1)); 00020 } 00021 00026 int operator<=(double v0, const prevariable& v1) 00027 { 00028 return (v0<=value(v1)); 00029 } 00030 00035 int operator>=(double v0, const prevariable& v1) 00036 { 00037 return (v0>=value(v1)); 00038 } 00039 00044 int operator>(double v0, const prevariable& v1) 00045 { 00046 return (v0>value(v1)); 00047 } 00048 00053 int operator<(double v0, const prevariable& v1) 00054 { 00055 return (v0<value(v1)); 00056 } 00057 00062 int operator!=(double v0, const prevariable& v1) 00063 { 00064 return (v0!=value(v1)); 00065 }
Generated on Tue Mar 8 2016 19:51:30 for ADMB Documentation by 1.8.0 |