carl
24.04
Computer ARithmetic Library
|
#include <VarInfo.h>
Public Member Functions | |
VarInfo ()=default | |
VarInfo (std::size_t maxDegree, std::size_t min_degree, std::size_t occurence, std::map< std::size_t, CoeffType > &&coeffs) | |
bool | has_coeff () const |
std::size_t | max_degree () const |
std::size_t | min_degree () const |
std::size_t | num_occurences () const |
const std::map< std::size_t, CoeffType > & | coeffs () const |
void | raise_max_degree (std::size_t degree) |
void | lower_min_degree (std::size_t degree) |
void | increase_num_occurences () |
template<typename Term > | |
void | update_coeff (std::size_t exponent, const Term &t) |
Private Attributes | |
std::size_t | m_max_degree = 0 |
Maximal degree variable occurs with. More... | |
std::size_t | m_min_degree = 0 |
Minimal non-zero degree variable occurs with. More... | |
std::size_t | m_num_occurences = 0 |
Number of terms a variable occurs in. More... | |
std::map< std::size_t, CoeffType > | m_coeffs |
Coefficients of the variable. Maps from exponent to the coefficient. More... | |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |