carl
24.04
Computer ARithmetic Library
|
Represents a contraction operation of the form. More...
#include <Contractor.h>
Public Member Functions | |
template<typename Number > | |
void | normalize (std::vector< Interval< Number >> &intervals) const |
Evaluation (const Polynomial &p, Variable v) | |
auto | var () const |
const auto & | numerator () const |
const auto & | denominator () const |
auto | root () const |
const auto & | dependees () const |
template<typename Number > | |
std::vector< Interval< Number > > | evaluate (const std::map< Variable, Interval< Number >> &assignment, const Interval< Number > &h=Interval< Number >(0, 0)) const |
Evaluate this contraction over the given assignment. More... | |
Private Member Functions | |
bool | make_integer () const |
template<typename Number > | |
void | add_root (const Interval< Number > &i, std::vector< Interval< Number >> &result) const |
Private Attributes | |
Variable | mVar |
Polynomial | mNumerator |
Polynomial | mDenominator |
std::size_t | mRoot |
std::vector< Variable > | mDependees |
Represents a contraction operation of the form.
mRoot'th root of (mNumerator / mDenominator)
Definition at line 22 of file Contractor.h.
|
inline |
|
inlineprivate |
Definition at line 35 of file Contractor.h.
|
inline |
|
inline |
Definition at line 123 of file Contractor.h.
|
inline |
Evaluate this contraction over the given assignment.
Returns a list of resulting intervals.
Allows to integrate a relation symbol as follows:
Definition at line 137 of file Contractor.h.
|
inlineprivate |
Definition at line 30 of file Contractor.h.
|
inline |
Definition at line 69 of file Contractor.h.
|
inline |
|
inline |
|
inline |
Definition at line 111 of file Contractor.h.
|
private |
Definition at line 26 of file Contractor.h.
|
private |
Definition at line 28 of file Contractor.h.
|
private |
Definition at line 25 of file Contractor.h.
|
private |
Definition at line 27 of file Contractor.h.
|
private |
Definition at line 24 of file Contractor.h.