CMS 3D CMS Logo

Classes | Functions
poly.h File Reference
#include <boost/iterator/iterator_facade.hpp>
#include <boost/operators.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

◆ operator+() [1/2]

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

Definition at line 144 of file poly.h.

144  {
145  return lhs + poly<T>(rhs);
146 }
Definition: poly.h:11

◆ operator+() [2/2]

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

Definition at line 148 of file poly.h.

148  {
149  return poly<T>(lhs) + rhs;
150 }
Definition: poly.h:11

◆ operator<<()

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 153 of file poly.h.

References mps_splice::entry, and f.

153  {
154  for (auto const& column : f.getColumns()) {
155  strm << "( ";
156  for (auto const& entry : column)
157  strm << entry << ", ";
158  strm << " )" << std::endl;
159  }
160  return strm;
161 }
double f[11][100]