Macaulay2 Engine
Loading...
Searching...
No Matches
DegreeZeroMapGenerator Class Reference

View of one cell of a SchreyerFrame as the degree-zero (scalar) part of the differential between two homological levels. More...

Classes

class  iterator
 Column iterator over the parent DegreeZeroMapGenerator's degree-zero submap. More...

Public Member Functions

 DegreeZeroMapGenerator (SchreyerFrame &C, int slanted_degree, int lev)
const Ringring () const
int numRows () const
int numColumns () const
long numNonzero () const
iterator begin ()
iterator end ()

Private Attributes

SchreyerFramemSchreyerFrame
std::vector< SchreyerFrameTypes::FrameElement > & mThisLevel
int mDegree
int mLevel
int mNumRows
int mNumColumns
std::vector< intmComponentTranslation

Friends

class DegreeZeroMapGenerator::iterator

Detailed Description

View of one cell of a SchreyerFrame as the degree-zero (scalar) part of the differential between two homological levels.

Note
AI-generated documentation. Verify against the source before relying on it.

Constructed with the source frame C, a slanted_degree, and a homological level lev. Computes how many rows and columns the degree-zero submap has and builds mComponentTranslation, a per-previous-level array mapping each previous-level component to its row in the submap (or -1 for ones at the wrong degree). numNonzero walks every syzygy at this cell and counts the entries that survive the translation; the nested iterator (see below) walks them in column-major order.

Definition at line 397 of file res-f4-m2-interface.cpp.


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