A combinatorial chain, that is, a chain with Z_2 coefficients. More...
#include <istream>
#include <ostream>
#include "chomp/system/config.h"
#include "chomp/struct/hashsets.h"
Go to the source code of this file.
Classes | |
class | tCombChain< CellT > |
A combinatorial chain. More... | |
Functions | |
template<class CellT > | |
std::ostream & | operator<< (std::ostream &out, const tCombChain< CellT > &c) |
Writes a combinatorial chain to an output stream. | |
template<class CellT > | |
std::istream & | operator>> (std::istream &in, tCombChain< CellT > &c) |
Reads a combinatorial chain from an input stream. | |
template<class CellT > | |
tCombChain< CellT > | operator+ (const tCombChain< CellT > &a, const tCombChain< CellT > &b) |
template<class CellT > | |
void | computeBoundary (const CellT &c, tCombChain< CellT > &b) |
Adds the boundary of a given cell to the provided chain. | |
template<class CellT > | |
tCombChain< CellT > | boundary (const CellT &c) |
Returns the boundary of a given cell. | |
template<class CellT > | |
void | computeBoundary (const tCombChain< CellT > &c, tCombChain< CellT > &b) |
Adds the boundary of a given chain to the provided chain. | |
template<class CellT > | |
tCombChain< CellT > | boundary (const tCombChain< CellT > &c) |
Returns the boundary of a given chain. |
A combinatorial chain, that is, a chain with Z_2 coefficients.
Definition in file combchain.h.
tCombChain<CellT> boundary | ( | const CellT & | c ) | [inline] |
Returns the boundary of a given cell.
Definition at line 242 of file combchain.h.
References computeBoundary().
Referenced by homologyGVF0(), homologyGVF1(), and homologyGVF2().
tCombChain<CellT> boundary | ( | const tCombChain< CellT > & | c ) | [inline] |
Returns the boundary of a given chain.
Definition at line 267 of file combchain.h.
References computeBoundary().
void computeBoundary | ( | const CellT & | c, |
tCombChain< CellT > & | b | ||
) | [inline] |
Adds the boundary of a given cell to the provided chain.
Definition at line 223 of file combchain.h.
Referenced by boundary(), computeAWdiagonal(), and computeBoundary().
void computeBoundary | ( | const tCombChain< CellT > & | c, |
tCombChain< CellT > & | b | ||
) | [inline] |
Adds the boundary of a given chain to the provided chain.
Definition at line 256 of file combchain.h.
References computeBoundary().
tCombChain<CellT> operator+ | ( | const tCombChain< CellT > & | a, |
const tCombChain< CellT > & | b | ||
) |
Definition at line 211 of file combchain.h.
std::ostream& operator<< | ( | std::ostream & | out, |
const tCombChain< CellT > & | c | ||
) |
Writes a combinatorial chain to an output stream.
Definition at line 188 of file combchain.h.
std::istream& operator>> | ( | std::istream & | in, |
tCombChain< CellT > & | c | ||
) |
Reads a combinatorial chain from an input stream.
Definition at line 202 of file combchain.h.