Classes | Functions

chaincon/combtensor.h File Reference

A combinatorial tensor (for coefficients in Z_2). More...

#include <istream>
#include <ostream>
#include "chomp/system/config.h"
#include "chaincon/pair.h"
#include "chaincon/combchain.h"

Go to the source code of this file.

Classes

class  tCombTensor< CellT >
 Combinatorial tensor of cells. More...

Functions

template<class CellT >
std::ostream & operator<< (std::ostream &out, const tCombTensor< CellT > &c)
 Writes a combinatorial tensor to an output stream.
template<class CellT >
std::istream & operator>> (std::istream &in, tCombTensor< CellT > &c)
 Reads a combinatorial tensor from an input stream.
template<class CellT >
void computeBoundary (const tCombTensor< CellT > &c, tCombTensor< CellT > &b)
 Adds the boundary of a given tensor to the provided tensor.
template<class CellT >
tCombTensor< CellT > boundary (const tCombTensor< CellT > &c)
 Returns the boundary of a given tensor.

Detailed Description

A combinatorial tensor (for coefficients in Z_2).

Definition in file combtensor.h.


Function Documentation

template<class CellT >
tCombTensor<CellT> boundary ( const tCombTensor< CellT > &  c ) [inline]

Returns the boundary of a given tensor.

Definition at line 210 of file combtensor.h.

References computeBoundary().

template<class CellT >
void computeBoundary ( const tCombTensor< CellT > &  c,
tCombTensor< CellT > &  b 
) [inline]

Adds the boundary of a given tensor to the provided tensor.

Definition at line 193 of file combtensor.h.

References computeBoundary().

template<class CellT >
std::ostream& operator<< ( std::ostream &  out,
const tCombTensor< CellT > &  c 
)

Writes a combinatorial tensor to an output stream.

Definition at line 169 of file combtensor.h.

template<class CellT >
std::istream& operator>> ( std::istream &  in,
tCombTensor< CellT > &  c 
)

Reads a combinatorial tensor from an input stream.

Definition at line 183 of file combtensor.h.