Logo Search packages:      
Sourcecode: ocropus version File versions  Download package

iarith.h File Reference


Detailed Description

Interval arithmetic.

Definition in file iarith.h.

#include <math.h>
#include <float.h>

Go to the source code of this file.

Classes

struct  dinterval
struct  interval
struct  vec2
struct  vec2i
struct  vecni< N >

Defines

#define IARITH_FAST
#define IARITH_PRIMS
#define returnoops(S, V)   throw S

Typedefs

typedef vecni< 4 > vecni4

Functions

interval abs (interval x)
double add_hi (double x, double y)
double add_lo (double x, double y)
interval angle_canonicalize (interval a)
interval angle_difference (interval a, double b)
interval atan2 (interval y, interval x)
vec2i cdiv (const vec2i &a, const vec2i &b)
interval cinterval (double x, double eps)
vec2i cmul (const vec2i &a, const vec2i &b)
dinterval cos (dinterval v)
interval cos (interval x)
double cos_hi (double x)
double cos_lo (double x)
double dabs (double x)
double div_hi (double x, double y)
double div_lo (double x, double y)
interval exp (interval x)
double exp_hi (double x)
double exp_lo (double x)
double hs (double x)
double hsq (double x)
interval iintersect (interval a, interval b)
interval intersect (interval a, interval b)
interval iunion (interval a, interval b)
interval log (interval x)
double log_hi (double x)
double log_lo (double x)
interval max (interval a, interval b)
interval max (interval a, double b)
interval max (double a, interval b)
double max (double x, double y)
bool maybe_leq (interval a, interval b)
bool maybe_leq (double a, interval b)
bool maybe_leq (interval a, double b)
bool maybe_less (interval a, interval b)
bool maybe_less (double a, interval b)
bool maybe_less (interval a, double b)
interval min (interval a, interval b)
interval min (interval a, double b)
interval min (double a, interval b)
double min (double x, double y)
double mul_hi (double x, double y)
double mul_lo (double x, double y)
double nan ()
interval naninterval ()
double neginfinity ()
double negzero ()
double nextfp (double x)
bool nonempty (interval x)
double norm (vec2 v)
interval norm (vec2i v)
interval oneover (interval a)
bool operator!= (interval a, interval b)
bool operator!= (double a, interval b)
bool operator!= (interval a, double b)
interval operator* (double a, interval b)
void operator*= (interval &a, double b)
void operator*= (interval &a, interval b)
interval operator+ (double a, interval b)
void operator+= (interval &a, double b)
interval operator- (double a, interval b)
interval operator- (interval a)
void operator-= (interval &a, double b)
interval operator/ (double a, interval b)
bool operator< (interval a, interval b)
bool operator< (interval a, double b)
bool operator<= (interval a, interval b)
bool operator<= (interval a, double b)
bool operator== (interval a, interval b)
bool operator== (double a, interval b)
bool operator== (interval a, double b)
bool operator> (interval a, interval b)
bool operator> (interval a, double b)
bool operator>= (interval a, interval b)
bool operator>= (interval a, double b)
interval orientation_difference (interval a, double b)
vec2i perpendicular (vec2i v)
double posinfinity ()
double prevfp (double x)
interval rinfluence (interval a, double t)
dinterval sin (dinterval v)
interval sin (interval x)
double sin_hi (double x)
double sin_lo (double x)
interval sqinfluence (interval a, double t)
dinterval sqr (dinterval v)
interval sqr (interval x)
double sqr (double x)
dinterval sqrt (dinterval v)
interval sqrt (interval x)
double sqrt_hi (double x)
double sqrt_lo (double x)
bool strictly_leq (interval a, interval b)
bool strictly_leq (double a, interval b)
bool strictly_leq (interval a, double b)
bool strictly_less (interval a, interval b)
bool strictly_less (double a, interval b)
bool strictly_less (interval a, double b)
double sub_hi (double x, double y)
double sub_lo (double x, double y)


Generated by  Doxygen 1.6.0   Back to index