![]() |
Mackey
V3.1
A C++ library for computing RO(G) graded homology
|
A chain complex. More...
#include <Chains.hpp>
Public Types | |
| typedef _rank | rank_t |
| The rank type. More... | |
| typedef _diff | diff_t |
| The differential type. More... | |
Public Member Functions | |
| Chains ()=default | |
| Default constructor. More... | |
| int | maxindex () const |
| The maximum index of the Chain complex. More... | |
| Chains (const std::vector< rank_t > &, const std::vector< diff_t > &) | |
| Constructor given ranks and diffs. More... | |
| void | reserve (size_t) |
| void | push_back (const Arrow< rank_t, diff_t > &) |
| void | push_back (const rank_t &, const diff_t &) |
| Chains | dualize (int=-1) const |
| The dual cochain complex reindexed as a Chain complex. Optionally stop at index k (if k=-1 then nonstop i.e. k=maxindex) More... | |
| bool | operator== (const Chains< rank_t, diff_t > &) const |
| Checks equality of Chain complexes. More... | |
Public Attributes | |
| std::vector< rank_t > | rank |
| rank[i]=rank(C[i]) More... | |
| std::vector< diff_t > | diff |
| diff[i] is the differential C[i]->C[i-1] (diff[0] is always empty) More... | |
A chain complex.
Our chain complexes are always indexed as C[maxindex]—>C[0].
| typedef _rank rank_t |
The rank type.
| typedef _diff diff_t |
The differential type.
|
default |
Default constructor.
Constructor given ranks and diffs.
| int maxindex | ( | ) | const |
The maximum index of the Chain complex.
| void reserve | ( | size_t | ) |
| Chains dualize | ( | int | = -1 | ) | const |
The dual cochain complex reindexed as a Chain complex. Optionally stop at index k (if k=-1 then nonstop i.e. k=maxindex)
| std::vector<rank_t> rank |
rank[i]=rank(C[i])
| std::vector<diff_t> diff |
diff[i] is the differential C[i]->C[i-1] (diff[0] is always empty)