Ipopt Documentation  
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
FORTRAN_INTEGER_TYPE
#define FORTRAN_INTEGER_TYPE
Definition: config_ipopt_default.h:21
Ipopt
This file contains a base class for all exceptions and a set of macros to help with exceptions.
Definition: IpInexactAlgBuilder.hpp:14
Ipopt::Number
double Number
Type of all numbers.
Definition: IpTypes.hpp:15
Ipopt::Index
int Index
Type of all indices of vectors, matrices etc.
Definition: IpTypes.hpp:17
ipfint
FORTRAN_INTEGER_TYPE ipfint
Definition: IpTypes.hpp:24
IpoptConfig.h
Ipopt::Int
int Int
Type of default integer.
Definition: IpTypes.hpp:19