The ChainCon Software (Release 0.03)
Classes | Functions
tensor.h File Reference

A tensor of chains with coefficients in an arbitrary commutative ring. More...

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

Go to the source code of this file.

Classes

class  tTensor< Cell1T, Cell2T, CoefT >
 Tensor of chains. More...
 

Functions

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

Detailed Description

A tensor of chains with coefficients in an arbitrary commutative ring.

Definition in file tensor.h.

Function Documentation

◆ operator<<()

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

◆ operator>>()

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

Reads a tensor from an input stream.

Definition at line 232 of file tensor.h.