Sandia Home Sandia Home
Main Page | Publications | Downloads | Configuration | Running the Code | Solver Parameters | FAQ | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

APPSPACK_Float.hpp File Reference


Detailed Description

No classes--Declares function in APPSPACK namespace for handling infinity.

Definition in file APPSPACK_Float.hpp.

#include "APPSPACK_Common.hpp"

Include dependency graph for APPSPACK_Float.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  APPSPACK

Defines

#define APPSPACK_DBL_MAX   DBL_MAX
 APPSPACK_DBL_MAX is the value we use for infinity (DBL_MAX should be defined in float.h).

Functions

double dne ()
 Use x = APPSPACK::dne() to say that the value of x does not exist.
bool exists (double value)
 Returns true if value had previously been set by a call to APPSPACK::dne.


Define Documentation

#define APPSPACK_DBL_MAX   DBL_MAX
 

APPSPACK_DBL_MAX is the value we use for infinity (DBL_MAX should be defined in float.h).

Definition at line 46 of file APPSPACK_Float.hpp.


Function Documentation

double APPSPACK::dne  ) 
 

Use x = APPSPACK::dne() to say that the value of x does not exist.

This is done by returning the constant APPSPACK_DBL_MAX.

Definition at line 40 of file APPSPACK_Float.cpp.

Referenced by APPSPACK::Constraints::Linear::formDistanceVector(), APPSPACK::Combiner::Generic::operator()(), APPSPACK::Point::Point(), APPSPACK::processTextInputFileLine(), APPSPACK::Evaluator::SystemCall::readOutputFile(), APPSPACK::Constraints::Linear::setupBounds(), APPSPACK::Constraints::Linear::setupRhs(), and APPSPACK::Constraints::Linear::setupScaledSystem().

bool APPSPACK::exists double  value  ) 
 

Returns true if value had previously been set by a call to APPSPACK::dne.

Checks against the constant APPSPACK_DBL_MAX.

Definition at line 45 of file APPSPACK_Float.cpp.

Referenced by APPSPACK::Constraints::Linear::errorCheck(), APPSPACK::Constraints::Linear::formDistanceVector(), APPSPACK::Constraints::Linear::formSnapSystem(), APPSPACK::Constraints::Linear::getIneqState(), APPSPACK::Constraints::Linear::getNominalX(), APPSPACK::Point::greaterThan(), APPSPACK::Point::isSufficientDecrease(), APPSPACK::Point::lessThan(), APPSPACK::Constraints::Linear::makeBoundsFeasible(), APPSPACK::Combiner::Generic::operator()(), operator<<(), APPSPACK::Constraints::Linear::print(), APPSPACK::Constraints::Linear::setupBounds(), APPSPACK::Constraints::Linear::setupScaledSystem(), and APPSPACK::Constraints::Linear::setupScaling().

 

© Sandia Corporation | Site Contact | Privacy and Security

Generated on Fri Feb 16 10:33:35 2007 for APPSPACK 5.0.1 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2002