|
Macaulay2 Engine
|
Engine-side Betti table: a (degree, homological level) rectangle of integers. More...
#include <betti.hpp>
Public Member Functions | |
| BettiDisplay () | |
| BettiDisplay (int lodegree, int hidegree, int hilen) | |
| BettiDisplay (const BettiDisplay &B) | |
| BettiDisplay & | operator= (const BettiDisplay &B) |
| ~BettiDisplay () | |
| void | swap (BettiDisplay &B) |
| int & | entry (int deg, int lev) |
| M2_arrayint | getBetti () const |
| void | displayBetti (buffer &o) const |
| void | output () const |
| void | resize (int new_lo_degree, int new_hi_degree, int new_length) |
| int | loDegree () const |
| int | hiDegree () const |
| int | length () const |
Static Private Member Functions | |
| static M2_arrayint | betti_make (int lo, int hi, int len, int *bettis) |
| static void | betti_display (buffer &o, M2_arrayint ar) |
Private Attributes | |
| int | mLoDegree |
| int | mHiDegree |
| int | mHiLength |
| int | mNLevels |
| int * | mValues |
Engine-side Betti table: a (degree, homological level) rectangle of integers.
Storage is a single flat int* mValues of size (mHiDegree - mLoDegree + 1) * mNLevels, indexed via entry(deg, lev). The user-facing bounds (loDegree / hiDegree / length) are the requested dimensions; the actual non-zero region may be tighter. displayBetti / output print in the conventional triangular layout the front end shows for betti queries, and getBetti flattens to an M2_arrayint for the interpreter.