Ipopt Documentation  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13
6 
7 #ifndef __IPTYPES_HPP__
8 #define __IPTYPES_HPP__
9 
10 #include "IpoptConfig.h"
11 
12 namespace Ipopt
13 {
15 typedef double Number;
17 typedef int Index;
19 typedef int Int;
20 
21 } // namespace Ipopt
22 
23 /* Type of Fortran integer translated into C */
25 
26 #endif
IPOPT_FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:24
int Int
Type of default integer.
Definition: IpTypes.hpp:19
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
#define IPOPT_FORTRAN_INTEGER_TYPE
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17