carl  24.04
Computer ARithmetic Library
Sampling.h File Reference
#include "Interval.h"
Include dependency graph for Sampling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 carl
 carl is the main namespace for the library.
 

Functions

template<typename Number >
Number carl::center (const Interval< Number > &i)
 Returns the center point of the interval. More...
 
template<typename Number >
Number carl::sample (const Interval< Number > &i, bool includingBounds=true)
 Searches for some point in this interval, preferably near the midpoint and with a small representation. More...
 
template<typename Number >
Number carl::sample_stern_brocot (const Interval< Number > &i, bool includingBounds=true)
 Searches for some point in this interval, preferably near the midpoint and with a small representation. More...
 
template<typename Number >
Number carl::sample_left (const Interval< Number > &i)
 Searches for some point in this interval, preferably near the left endpoint and with a small representation. More...
 
template<typename Number >
Number carl::sample_right (const Interval< Number > &i)
 Searches for some point in this interval, preferably near the right endpoint and with a small representation. More...
 
template<typename Number >
Number carl::sample_zero (const Interval< Number > &i)
 Searches for some point in this interval, preferably near zero and with a small representation. More...
 
template<typename Number >
Number carl::sample_infty (const Interval< Number > &i)
 Searches for some point in this interval, preferably far aways from zero and with a small representation. More...