Teuchos::Utils Class Reference

This class provides some basic string and floating-point utilities for Teuchos. More...

#include <Teuchos_Utils.hpp>

List of all members.

Static Public Member Functions

void aboutBuild ()
double chop (const double &x)
string toString (const double &x)
string toString (const int &x)
string toString (const unsigned int &x)
double infinity ()
double negativeInfinity ()
double pi ()
double getChopVal ()
void setChopVal (double chopVal)


Detailed Description

This class provides some basic string and floating-point utilities for Teuchos.

Definition at line 46 of file Teuchos_Utils.hpp.


Member Function Documentation

void Teuchos::Utils::aboutBuild  )  [static]
 

print a description of the current build

double Teuchos::Utils::chop const double &  x  )  [static]
 

Set a number to zero if it is less than chopVal.

Definition at line 35 of file Teuchos_Utils.cpp.

string toString const double &  x  )  [inline, static]
 

write a real as a string

Definition at line 55 of file Teuchos_Utils.cpp.

string toString const int &  x  )  [inline, static]
 

write an int as a string

Definition at line 41 of file Teuchos_Utils.cpp.

string toString const unsigned int &  x  )  [inline, static]
 

write an unsigned int as a string

Definition at line 48 of file Teuchos_Utils.cpp.

double Teuchos::Utils::infinity  )  [inline, static]
 

IEEE positive infinity

Definition at line 77 of file Teuchos_Utils.hpp.

double Teuchos::Utils::negativeInfinity  )  [inline, static]
 

IEEE negative infinity

Definition at line 82 of file Teuchos_Utils.hpp.

double Teuchos::Utils::pi  )  [inline, static]
 

pi.

Definition at line 90 of file Teuchos_Utils.hpp.

double Teuchos::Utils::getChopVal  )  [inline, static]
 

Get the chopping value, below which numbers are considered to be zero

Definition at line 95 of file Teuchos_Utils.hpp.

void Teuchos::Utils::setChopVal double  chopVal  )  [inline, static]
 

Set the chopping value, below which numbers are considered to be zero

Definition at line 99 of file Teuchos_Utils.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:39:12 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1