The Original CHomP Software
Classes | Namespaces | Functions
cubevar.h File Reference

This file defines full cubes whose embedding space dimension is not known apriori and therefore the array of coordinates is allocated each time a cubical cell is created. 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::tCubeVar< 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<class coordtype >
int_t chomp::homology::hashkey1 (const tCubeVar< coordtype > &c)
 
template<class coordtype >
int_t chomp::homology::hashkey2 (const tCubeVar< coordtype > &c)
 
template<class coordtype >
int chomp::homology::operator!= (const tCubeVar< coordtype > &c1, const tCubeVar< coordtype > &c2)
 The operator != for comparing full cubes. More...
 
template<class coordtype >
tCubeVar< coordtype > chomp::homology::operator* (const tCubeVar< coordtype > &c1, const tCubeVar< coordtype > &c2)
 Computes the Cartesian product of two cubes. More...
 
template<class coordtype >
std::ostream & chomp::homology::operator<< (std::ostream &out, const tCubeVar< coordtype > &c)
 Writes a cube to an output stream in the text mode. More...
 
template<class coordtype >
std::istream & chomp::homology::operator>> (std::istream &in, tCubeVar< coordtype > &c)
 Reads a cube from an input stream in the text mode. More...
 
template<class coordtype >
std::istream & chomp::homology::operator>> (std::istream &in, hashedset< tCubeVar< coordtype > > &s)
 Reads a set of cubes from an input stream in the text mode. More...
 
template<class coordtype >
std::istream & chomp::homology::operator>> (std::istream &in, mvmap< tCubeVar< coordtype >, tCubeVar< coordtype > > &m)
 Reads a cubical map from an input stream in the text mode. More...
 

Detailed Description

This file defines full cubes whose embedding space dimension is not known apriori and therefore the array of coordinates is allocated each time a cubical cell is created.

Author
Pawel Pilarczyk

Definition in file cubevar.h.