CMS 3D CMS Logo

Classes | Functions
poly.h File Reference
#include <boost/iterator/iterator_facade.hpp>
#include <boost/operators.hpp>
#include <boost/foreach.hpp>
#include <iostream>
#include <list>
#include <set>

Go to the source code of this file.

Classes

class  poly< T >::const_iterator
 
class  poly< T >
 
class  poly< T >
 

Functions

template<class T >
poly< Toperator+ (const poly< T > &, const char *)
 
template<class T >
poly< Toperator+ (const char *, const poly< T > &)
 
template<class charT , class traits , class T >
std::basic_ostream< charT, traits > & operator<< (std::basic_ostream< charT, traits > &strm, const poly< T > &f)
 

Function Documentation

template<class T >
poly< T > operator+ ( const poly< T > &  lhs,
const char *  rhs 
)

Definition at line 108 of file poly.h.

108 { return lhs + poly<T>(rhs);}
Definition: poly.h:11
template<class T >
poly< T > operator+ ( const char *  lhs,
const poly< T > &  rhs 
)

Definition at line 109 of file poly.h.

109 { return poly<T>(lhs) + rhs;}
Definition: poly.h:11
template<class charT , class traits , class T >
std::basic_ostream<charT,traits>& operator<< ( std::basic_ostream< charT, traits > &  strm,
const poly< T > &  f 
)
inline

Definition at line 113 of file poly.h.

References mps_splice::entry, and f.

113  {
114  BOOST_FOREACH(std::set<T> column, std::make_pair(f.begin_columns(),f.end_columns()))
115  { strm << "( "; BOOST_FOREACH(T entry, column) strm << entry << ", "; strm << " )" << std::endl; }
116  return strm;
117 }
column_iterator end_columns()
Definition: poly.h:51
return(e1-e2)*(e1-e2)+dp *dp
long double T
column_iterator begin_columns()
Definition: poly.h:50