CppAD: A C++ Algorithmic Differentiation Package 20110419
declare.hpp
Go to the documentation of this file.
00001 /* $Id$ */
00002 # ifndef CPPAD_DECLARE_INCLUDED
00003 # define CPPAD_DECLARE_INCLUDED
00004 
00005 /* --------------------------------------------------------------------------
00006 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-07 Bradley M. Bell
00007 
00008 CppAD is distributed under multiple licenses. This distribution is under
00009 the terms of the 
00010                     Common Public License Version 1.0.
00011 
00012 A copy of this license is included in the COPYING file of this distribution.
00013 Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
00014 -------------------------------------------------------------------------- */
00015 
00016 /* 
00017 $begin declare.hpp$$
00018 $spell
00019         hpp
00020         enum
00021         namespace
00022         Op
00023         Lt
00024         Le
00025         Eq
00026         Ge
00027         Gt
00028         Ne
00029 $$
00030 
00031 $section declare.hpp$$
00032 
00033 $head Purpose$$
00034 This enum type is used to define the $cref/CondExp/$$ operation:
00035 
00036 $codep */
00037 
00038 namespace CppAD {
00039 
00040         // The conditional expression operator enum type
00041         enum CompareOp 
00042         {       CompareLt, // less than
00043                 CompareLe, // less than or equal
00044                 CompareEq, // equal
00045                 CompareGe, // greater than or equal
00046                 CompareGt, // greater than
00047                 CompareNe  // not equal
00048         };
00049 
00050 }
00051 /* $$
00052 $end
00053 */
00054 
00055 # endif