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

A wrapper of a generic coefficient type for the CHomP library. More...

#include <istream>
#include <ostream>
#include <algorithm>
#include <vector>
#include "chomp/system/config.h"

Go to the source code of this file.

Classes

class  tEuclWrap< CoefT >
 A wrapper of coefficients as defined in this sofware package for what is required by CHomP. More...
 

Functions

template<class CoefT >
bool operator!= (const tEuclWrap< CoefT > &n, const tEuclWrap< CoefT > &m)
 
template<class CoefT >
bool operator== (const tEuclWrap< CoefT > &n, int m)
 
template<class CoefT >
int operator!= (const tEuclWrap< CoefT > &n, int m)
 
template<class CoefT >
tEuclWrap< CoefT > operator- (const tEuclWrap< CoefT > &n, const tEuclWrap< CoefT > &m)
 
template<class CoefT >
std::istream & operator>> (std::istream &in, tEuclWrap< CoefT > &n)
 
template<class CoefT >
std::ostream & operator<< (std::ostream &out, const tEuclWrap< CoefT > &n)
 Writing an element to an output stream. More...
 

Detailed Description

A wrapper of a generic coefficient type for the CHomP library.

Definition in file euclwrap.h.

Function Documentation

◆ operator!=() [1/2]

template<class CoefT >
bool operator!= ( const tEuclWrap< CoefT > &  n,
const tEuclWrap< CoefT > &  m 
)
inline

Definition at line 226 of file euclwrap.h.

◆ operator!=() [2/2]

template<class CoefT >
int operator!= ( const tEuclWrap< CoefT > &  n,
int  m 
)
inline

Definition at line 241 of file euclwrap.h.

◆ operator-()

template<class CoefT >
tEuclWrap<CoefT> operator- ( const tEuclWrap< CoefT > &  n,
const tEuclWrap< CoefT > &  m 
)
inline

Definition at line 247 of file euclwrap.h.

◆ operator<<()

template<class CoefT >
std::ostream& operator<< ( std::ostream &  out,
const tEuclWrap< CoefT > &  n 
)
inline

Writing an element to an output stream.

Definition at line 267 of file euclwrap.h.

References tEuclWrap< CoefT >::getCoef().

◆ operator==()

template<class CoefT >
bool operator== ( const tEuclWrap< CoefT > &  n,
int  m 
)
inline

Definition at line 233 of file euclwrap.h.

◆ operator>>()

template<class CoefT >
std::istream& operator>> ( std::istream &  in,
tEuclWrap< CoefT > &  n 
)
inline

Definition at line 256 of file euclwrap.h.