Macaulay2 Engine
Loading...
Searching...
No Matches
newf4::PolynomialListStreamCollector Class Reference

implements the stream functions for creating a PolynomialList from a stream More...

#include <PolynomialList.hpp>

Public Types

using Coefficient = BasicPolyListStreamCollector::Coefficient
using VarIndex = BasicPolyListStreamCollector::VarIndex
using Exponent = BasicPolyListStreamCollector::Exponent
using Component = BasicPolyListStreamCollector::Component

Public Member Functions

 PolynomialListStreamCollector (int modulus, int varCount, int comCount, PolynomialList &result)
PolynomialListvalue () const
Coefficient modulus () const
VarIndex varCount () const
Component comCount () const
void idealBegin (size_t polyCount)
void appendPolynomialBegin (size_t termCount)
void appendTermBegin (Component com)
void appendExponent (VarIndex index, Exponent exponent)
void appendTermDone (Coefficient coefficient)
void appendPolynomialDone ()
void idealDone ()

Private Attributes

Coefficient mModulus
VarIndex mVarCount
Component mComCount
std::vector< CoefficientmCoefficients
std::vector< ExponentmSparseMonomial
long mCurrentPoly
long mCurrentTerm
PolynomialListmValue

Detailed Description

implements the stream functions for creating a PolynomialList from a stream

Definition at line 238 of file PolynomialList.hpp.


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