File: IpTypes.hpp

package info (click to toggle)
coinor-ipopt 3.10.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 24,368 kB
  • sloc: cpp: 75,907; sh: 11,050; ansic: 2,198; makefile: 1,975; java: 583; fortran: 342; f90: 100
file content (28 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (6)
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