The ChainCon Software (Release 0.03)
Classes | Functions
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"
#include "chaincon/ringz2.h"

Go to the source code of this file.

Classes

class  tCombTensor< Cell1T, Cell2T >
 Combinatorial tensor of cells. More...
 

Functions

template<class Cell1T , class Cell2T >
std::ostream & operator<< (std::ostream &out, const tCombTensor< Cell1T, Cell2T > &c)
 Writes a combinatorial tensor to an output stream. More...
 
template<class Cell1T , class Cell2T >
std::istream & operator>> (std::istream &in, tCombTensor< Cell1T, Cell2T > &c)
 Reads a combinatorial tensor from an input stream. More...
 

Detailed Description

A combinatorial tensor (for coefficients in Z_2).

Definition in file combtensor.h.

Function Documentation

◆ operator<<()

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

Writes a combinatorial tensor to an output stream.

Definition at line 186 of file combtensor.h.

References tCombTensor< Cell1T, Cell2T >::left(), tCombTensor< Cell1T, Cell2T >::right(), and tCombTensor< Cell1T, Cell2T >::size().

◆ operator>>()

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

Reads a combinatorial tensor from an input stream.

Definition at line 206 of file combtensor.h.