|
| chainmap (const chaincomplex< euclidom > &domain, const chaincomplex< euclidom > &range) |
| The default constructor of a chain map between the two given chain complexes. More...
|
|
| chainmap (const chainmap< euclidom > &c) |
| Copy constructor. More...
|
|
chainmap< euclidom > & | operator= (const chainmap< euclidom > &c) |
| The assignment operator. More...
|
|
| ~chainmap () |
| The destructor. More...
|
|
int | dim () const |
| Returns the dimension of the chain map. More...
|
|
const mmatrix< euclidom > & | operator[] (int i) const |
| Returns the matrix of the chain map at the given level. More...
|
|
void | add (int q, int_t m, int_t n, euclidom e) |
| Adds a coefficient to the selected matrix of the map: M_q [m, n] += e. More...
|
|
void | invert (void) |
| Inverts the chain map. More...
|
|
void | compose (const chainmap< euclidom > &m1, const chainmap< euclidom > &m2) |
| Composes two given chain maps. More...
|
|
outputstream & | show (outputstream &out, const char *maplabel="f", const char *xtxt=NULL, const char *ytxt=NULL, const int *level=NULL) const |
| Writes the chain map to an output stream in the text format using specified labels for the map and elements in the domain and in the codomain of the map. More...
|
|
std::ostream & | show (std::ostream &out, const char *maplabel="f", const char *xtxt=NULL, const char *ytxt=NULL, const int *level=NULL) const |
| Writes the chain map to an output stream in the text format using specified labels for the map and elements in the domain and in the codomain of the map. More...
|
|
void | take_homology (const chainmap< euclidom > &m, const chain< euclidom > *hom_domain, const chain< euclidom > *hom_range) |
| Creates a chain map that represents the map induced in homology by the chain map between the two given chain complexes which have been previously transformed to the simple form. More...
|
|
outputstream & | show_homology (outputstream &out, const chain< euclidom > *hom_domain, const chain< euclidom > *hom_range, const int *level=NULL, const char *xtxt=NULL, const char *ytxt=NULL) const |
| Writes to an output stream the map induced in homology. More...
|
|
std::ostream & | show_homology (std::ostream &out, const chain< euclidom > *hom_domain, const chain< euclidom > *hom_range, const int *level=NULL, const char *xtxt=NULL, const char *ytxt=NULL) const |
| Writes to an output stream the map induced in homology. More...
|
|
template<class euclidom>
class chomp::homology::chainmap< euclidom >
This class defines a chain map between two chain complexes.
The chain complexes must exist and not change durign the existence of the chain map.
Definition at line 3242 of file chains.h.
template<class euclidom >
std::ostream & chomp::homology::chainmap< euclidom >::show_homology |
( |
std::ostream & |
out, |
|
|
const chain< euclidom > * |
hom_domain, |
|
|
const chain< euclidom > * |
hom_range, |
|
|
const int * |
level = NULL , |
|
|
const char * |
xtxt = NULL , |
|
|
const char * |
ytxt = NULL |
|
) |
| const |
|
inline |
Writes to an output stream the map induced in homology.
If the array of levels is provided, only these homology levels are displayed for which the array has a nonzero entry.
Definition at line 3543 of file chains.h.
3547{
3548 outputstream tout (out);
3549 show_homology (tout, hom_domain, hom_range, level, xtxt, ytxt);
3550 return out;
3551}
outputstream & show_homology(outputstream &out, const chain< euclidom > *hom_domain, const chain< euclidom > *hom_range, const int *level=NULL, const char *xtxt=NULL, const char *ytxt=NULL) const
Writes to an output stream the map induced in homology.
References chomp::homology::show_homology().