Classes | Namespaces | Functions

cubefix.h File Reference

This class defines full cubes in which the embedding space dimension is known apriori. More...

#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/cubes/pointset.h"
#include "chomp/struct/bitfield.h"
#include "chomp/struct/integer.h"
#include "chomp/struct/hashsets.h"
#include "chomp/cubes/pointbas.h"
#include "chomp/cubes/cubemain.h"
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstring>

Go to the source code of this file.

Classes

class  chomp::homology::tCubeFix< dimfix, coordtype >
 This class defines a hypercube in R^n with edges parallel to the axes and with size 1 in each direction. More...

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<int dim1, int dim2, class coordtype >
int chomp::homology::operator!= (const tCubeFix< dim1, coordtype > &c1, const tCubeFix< dim2, coordtype > &c2)
 The operator != for comparing full cubes.
template<int dim1, int dim2, class coordtype >
tCubeFix< dim1+dim2, coordtype > chomp::homology::operator* (const tCubeFix< dim1, coordtype > &c1, const tCubeFix< dim2, coordtype > &c2)
 Computes the Cartesian product of two cubes.
template<int dimfix, class coordtype >
std::ostream & chomp::homology::operator<< (std::ostream &out, const tCubeFix< dimfix, coordtype > &c)
 Writes a cube to an output stream in the text mode.
template<int dimfix, class coordtype >
std::istream & chomp::homology::operator>> (std::istream &in, tCubeFix< dimfix, coordtype > &c)
 Reads a cube from an input stream in the text mode.
template<int dimfix, class coordtype >
std::istream & chomp::homology::operator>> (std::istream &in, hashedset< tCubeFix< dimfix, coordtype > > &s)
 Reads a set of cubes from an input stream in the text mode.
template<int dimfix, class coordtype >
std::istream & chomp::homology::operator>> (std::istream &in, mvmap< tCubeFix< dimfix, coordtype >, tCubeFix< dimfix, coordtype > > &m)
 Reads a cubical map from an input stream in the text mode.

Detailed Description

This class defines full cubes in which the embedding space dimension is known apriori.

Since this dimension is used as a template parameter, this approach saves a lot of memory allocation and deallocation, since arrays of fixed length are used.

Author:
Pawel Pilarczyk

Definition in file cubefix.h.