carl
24.04
Computer ARithmetic Library
MultivariatePolynomialPolicy.h
Go to the documentation of this file.
1
/**
2
* @file MultivariatePolynomialPolicy.h
3
* @ingroup multirp
4
* @author Sebastian Junges
5
*/
6
7
#pragma once
8
9
#include "
MonomialOrdering.h
"
10
#include "
MultivariatePolynomialAdaptors/PolynomialAllocator.h
"
11
#include "
MultivariatePolynomialAdaptors/ReasonsAdaptor.h
"
12
13
namespace
carl
14
{
15
/**
16
* The default policy for polynomials.
17
* @ingroup multirp
18
*/
19
template
<
typename
ReasonsAdaptor = NoReasons,
typename
Allocator = NoAllocator>
20
struct
StdMultivariatePolynomialPolicies
:
public
ReasonsAdaptor
21
{
22
23
24
/**
25
* Linear searching means that we search linearly for a term instead of applying e.g. binary search.
26
* Although the worst-case complexity is worse, for polynomials with a small nr of terms, this should be better.
27
*/
28
static
const
bool
searchLinear
=
true
;
29
30
// Easy access.
31
static
const
bool
has_reasons
= ReasonsAdaptor::has_reasons;
32
};
33
34
}
MonomialOrdering.h
PolynomialAllocator.h
ReasonsAdaptor.h
carl
carl is the main namespace for the library.
carl::StdMultivariatePolynomialPolicies
The default policy for polynomials.
Definition:
MultivariatePolynomialPolicy.h:21
carl::StdMultivariatePolynomialPolicies::has_reasons
static const bool has_reasons
Definition:
MultivariatePolynomialPolicy.h:31
carl::StdMultivariatePolynomialPolicies::searchLinear
static const bool searchLinear
Linear searching means that we search linearly for a term instead of applying e.g.
Definition:
MultivariatePolynomialPolicy.h:28
carl-arith
poly
umvpoly
MultivariatePolynomialPolicy.h
Generated by
1.9.1