LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
QuadExpr.h File Reference
#include <ostream>

Go to the source code of this file.

Classes

class  QuadExpr
 

Functions

QuadExpr operator+ (double v, const QuadExpr &e)
 
QuadExpr operator- (double v, const QuadExpr &e)
 
QuadExpr operator* (double v, const QuadExpr &e)
 
std::ostream & operator<< (std::ostream &, const QuadExpr &)
 

Function Documentation

QuadExpr operator- ( double  v,
const QuadExpr e 
)
inline
std::ostream& operator<< ( std::ostream &  ,
const QuadExpr  
)

Definition at line 72 of file QuadExpr.cxx.

References QuadExpr::Constant(), QuadExpr::Linear(), and QuadExpr::Quadratic().

Referenced by operator*().

73 {
74  os << e.Quadratic() << "*x^2 + " << e.Linear() << "*x + " << e.Constant();
75  return os;
76 }
Float_t e
Definition: plot.C:34