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