My Project  debian-1:4.1.1-p2+ds-4build2
Functions
ftmpl_factor.cc File Reference
#include "factory/templates/ftmpl_factor.h"

Go to the source code of this file.

Functions

template<class T >
int operator== (const Factor< T > &f1, const Factor< T > &f2)
 
template<class T >
OSTREAMoperator<< (OSTREAM &os, const Factor< T > &f)
 

Function Documentation

◆ operator<<()

template<class T >
OSTREAM& operator<< ( OSTREAM os,
const Factor< T > &  f 
)

Definition at line 40 of file ftmpl_factor.cc.

41 {
42  f.print( os );
43  return os;
44 }

◆ operator==()

template<class T >
int operator== ( const Factor< T > &  f1,
const Factor< T > &  f2 
)

Definition at line 24 of file ftmpl_factor.cc.

25 {
26  return (f1.exp() == f2.exp()) && (f1.factor() == f2.factor());
27 }
f
FILE * f
Definition: checklibs.c:9
Factor::factor
T factor() const
Definition: ftmpl_factor.h:30
Factor::exp
int exp() const
Definition: ftmpl_factor.h:31