Ipopt 3.11.9
Loading...
Searching...
No Matches
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
14namespace 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
FORTRAN_INTEGER_TYPE ipfint
Definition IpTypes.hpp:26
#define FORTRAN_INTEGER_TYPE
Definition config_ipopt.h:5
int Int
Type of default integer.
Definition IpTypes.hpp:21
int Index
Type of all indices of vectors, matrices etc.
Definition IpTypes.hpp:19
double Number
Type of all numbers.
Definition IpTypes.hpp:17