Ipopt  3.12.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
IpTypes.hpp
Go to the documentation of this file.
1 // Copyright (C) 2004, 2006 International Business Machines and others.
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: IpTypes.hpp 2005 2011-06-06 12:55:16Z stefan $
6 //
7 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
8 
9 #ifndef __IPTYPES_HPP__
10 #define __IPTYPES_HPP__
11 
12 #include "IpoptConfig.h"
13 
14 namespace Ipopt
15 {
17  typedef double Number;
19  typedef int Index;
21  typedef int Int;
22 
23 } // namespace Ipopt
24 
25 /* Type of Fortran integer translated into C */
27 
28 #endif
int Int
Type of default integer.
Definition: IpTypes.hpp:21
FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:26
double Number
Type of all numbers.
Definition: IpTypes.hpp:17
#define FORTRAN_INTEGER_TYPE
Definition: config_ipopt.h:5
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:19