# CouenneProjections.hpp

Go to the documentation of this file.

    00001 /* $Id: CouenneProjections.hpp 490 2011-01-14 16:07:12Z pbelotti $
    00002  *
    00003  * Name:    projections.hpp
    00004  * Authors: Pietro Belotti, Carnegie Mellon University
    00005  * Purpose: tools for projecting points on lines/planes
    00006  *
    00007  * (C) Carnegie-Mellon University, 2006-10.
    00008  * This file is licensed under the Eclipse Public License (EPL)
    00009  */
    00010
    00011 #ifndef CouenneProjections_hpp
    00012 #define CouenneProjections_hpp
    00013
    00014 #include <stdio.h>
    00015
    00016 #include "CouennePrecisions.hpp"
    00017
    00018 namespace Couenne {
    00019
    00025 CouNumber project (CouNumber a,   CouNumber b, CouNumber c,
    00026                    CouNumber x0,  CouNumber y0,
    00027                    CouNumber lb,  CouNumber ub,
    00028                    int sign,
    00029                    CouNumber *xp = NULL, CouNumber *yp = NULL);
    00030
    00036 CouNumber projectSeg (CouNumber x0,  CouNumber y0,
    00037                       CouNumber x1,  CouNumber y1,
    00038                       CouNumber x2,  CouNumber y2,
    00039                       int sign,
    00040                       CouNumber *xp = NULL, CouNumber *yp = NULL);
    00041 }
    00042
    00043 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines