|
Macaulay2 Engine
|
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 Ring * | ring () const |
| int | numRows () const |
| int | numColumns () const |
| long | numNonzero () const |
| iterator | begin () |
| iterator | end () |
Private Attributes | |
| SchreyerFrame & | mSchreyerFrame |
| std::vector< SchreyerFrameTypes::FrameElement > & | mThisLevel |
| int | mDegree |
| int | mLevel |
| int | mNumRows |
| int | mNumColumns |
| std::vector< int > | mComponentTranslation |
Friends | |
| class | DegreeZeroMapGenerator::iterator |
View of one cell of a SchreyerFrame as the degree-zero (scalar) part of the differential between two homological levels.
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.