carl  24.04
Computer ARithmetic Library
sortByLeadingTerm< Polynomial > Class Template Reference

Sorts generators of an ideal by their leading terms. More...

#include <PolynomialSorts.h>

Collaboration diagram for sortByLeadingTerm< Polynomial >:

Public Member Functions

 sortByLeadingTerm (const std::vector< Polynomial > &generators)
 
bool operator() (std::size_t a, std::size_t b) const
 

Private Attributes

const std::vector< Polynomial > & mGenerators
 

Detailed Description

template<class Polynomial>
class sortByLeadingTerm< Polynomial >

Sorts generators of an ideal by their leading terms.

Parameters
generators

Definition at line 14 of file PolynomialSorts.h.

Constructor & Destructor Documentation

◆ sortByLeadingTerm()

template<class Polynomial >
sortByLeadingTerm< Polynomial >::sortByLeadingTerm ( const std::vector< Polynomial > &  generators)
inlineexplicit

Definition at line 18 of file PolynomialSorts.h.

Member Function Documentation

◆ operator()()

template<class Polynomial >
bool sortByLeadingTerm< Polynomial >::operator() ( std::size_t  a,
std::size_t  b 
) const
inline

Definition at line 21 of file PolynomialSorts.h.

Field Documentation

◆ mGenerators

template<class Polynomial >
const std::vector<Polynomial>& sortByLeadingTerm< Polynomial >::mGenerators
private

Definition at line 28 of file PolynomialSorts.h.


The documentation for this class was generated from the following file: