This file contains some procedures defined for cubical maps. More...
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/cubes/pointset.h"
#include "chomp/struct/integer.h"
#include "chomp/struct/hashsets.h"
#include "chomp/homology/gcomplex.h"
#include "chomp/cubes/pointbas.h"
#include "chomp/cubes/cube.h"
#include "chomp/cubes/cell.h"
#include <iostream>
#include <fstream>
#include <cstdlib>
Go to the source code of this file.
Namespaces | |
namespace | chomp |
This namespace contains the entire CHomP library interface. | |
namespace | chomp::homology |
This namespace contains the core of the homology computation procedures and related classes and templates contained in the CHomP C++ library. | |
Functions | |
template<class euclidom , class tCell > | |
std::ostream & | chomp::homology::writegenerators (std::ostream &out, const chain< euclidom > *hom, const chaincomplex< euclidom > &c, const gcomplex< tCell, euclidom > &g, const int *level, int xdim, int format=0) |
Writes projected homology generators of a cubical complex to a file. | |
template<class euclidom , class tCell , class tCube > | |
int_t | chomp::homology::createimages (mvcellmap< tCell, euclidom, tCube > &m, const mvmap< tCube, tCube > &f1, const mvmap< tCube, tCube > &f2, const hashedset< tCube > &dom1, const hashedset< tCube > &dom2) |
Creates images of cells in 'm' as unions of cubes determined by f1 and f2. | |
template<class euclidom , class tCell , class tCube > | |
int_t | chomp::homology::createimages (mvcellmap< tCell, euclidom, tCube > &m, const mvmap< tCube, tCube > &f, const hashedset< tCube > &dom) |
A wrapper for the above function if there is only one map. | |
template<class euclidom , class tCell , class tCube > | |
int_t | chomp::homology::createimages (mvcellmap< tCell, euclidom, tCube > &m, const mvmap< tCube, tCube > &f1, const mvmap< tCube, tCube > &f2) |
Creates images of cells in m as unions of cubes determined by f1 and f2. | |
template<class euclidom , class tCell , class tCube > | |
int_t | chomp::homology::createimages (mvcellmap< tCell, euclidom, tCube > &m, const mvmap< tCube, tCube > &f) |
A wrapper for the above function if there is only one map. | |
template<class euclidom , class tCell > | |
void | chomp::homology::createprojection (const gcomplex< tCell, euclidom > &Fcompl, const gcomplex< tCell, euclidom > &Ycompl, chainmap< euclidom > &cmap, int offset, int outdim, int discarddim, int *level=NULL) |
Creates the chain map of the projection from a cell complex of the graph of a map to a cell complex of the codomain of the map. | |
template<class euclidom , class tCell > | |
void | chomp::homology::project (const gcomplex< tCell, euclidom > &c, gcomplex< tCell, euclidom > &img, const gcomplex< tCell, euclidom > &only, int offset, int outdim, int discarddim, const int *level, bool watchforimages) |
Creates the image of the projection from the set of cubical cells in the given geometric complex to the subspace of R^n spanned by the 'outdim' subsequent standard vectors with the first number 'offset'. | |
template<class tCube > | |
std::istream & | chomp::homology::readdomain (std::istream &in, hashedset< tCube > &dom) |
Reads the domain of a multivalued cubical map. | |
template<class tCube > | |
std::istream & | chomp::homology::readimage (std::istream &in, hashedset< tCube > &img) |
Reads the image of a multivalued cubical map. | |
template<class tCube > | |
std::istream & | chomp::homology::readimage (std::istream &in, const hashedset< tCube > &dom, hashedset< tCube > &img) |
Read the image of a set under a multivalued cubical map. | |
template<class tCube > | |
std::istream & | chomp::homology::readselective (std::istream &in, const hashedset< tCube > &dom1, const hashedset< tCube > &dom2, mvmap< tCube, tCube > &m) |
Reads the restriction of a multivalued map to the given pair of sets. | |
template<class tCube > | |
std::istream & | chomp::homology::readselective (std::istream &in, const hashedset< tCube > &dom, mvmap< tCube, tCube > &m) |
Reads a restriction of a multivalued cubical map to the given set. |
This file contains some procedures defined for cubical maps.
These procedures are usually specializations of the generic ones and support specific features of cubical maps.
Definition in file cubmaps.h.