carl  24.04
Computer ARithmetic Library
Exponential.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Interval.h"
4 
5 #include <cassert>
6 
7 namespace carl {
8 
9 template<typename Number, EnableIf<std::is_floating_point<Number>> = dummy>
11  assert(i.is_consistent());
13 }
14 
15 template<typename Number, EnableIf<std::is_floating_point<Number>> = dummy>
17  assert(i.is_consistent());
19 }
20 
21 template<typename Number, EnableIf<std::is_floating_point<Number>> = dummy>
23  assert(i.is_consistent() && i.is_semi_positive());
25 }
26 
27 template<typename Number, EnableIf<std::is_floating_point<Number>> = dummy>
29  assert(i.is_consistent() && i.is_semi_positive());
31 }
32 
33 }
carl is the main namespace for the library.
Interval< Number > exp(const Interval< Number > &i)
Definition: Exponential.h:10
void log_assign(Interval< Number > &i)
Definition: Exponential.h:28
Interval< Number > log(const Interval< Number > &i)
Definition: Exponential.h:22
void exp_assign(Interval< Number > &i)
Definition: Exponential.h:16
The class which contains the interval arithmetic including trigonometric functions.
Definition: Interval.h:134
BoundType lower_bound_type() const
The getter for the lower bound type of the interval.
Definition: Interval.h:883
const BoostInterval & content() const
Returns a reference to the included boost interval.
Definition: Interval.h:865
bool is_semi_positive() const
Definition: Interval.h:1146
void set(const BoostInterval &content)
Advanced setter to modify both boundaries at once.
Definition: Interval.h:1007
bool is_consistent() const
A quick check for the bound values.
Definition: Interval.h:1426
BoundType upper_bound_type() const
The getter for the upper bound type of the interval.
Definition: Interval.h:892