All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
QuadExpr.cxx File Reference
#include "larreco/SpacePointSolver/QuadExpr.h"
#include <cstdlib>
#include <iostream>
#include <ostream>
#include <string>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const QuadExpr &e)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const QuadExpr e 
)

Definition at line 74 of file QuadExpr.cxx.

75 {
76  os << e.Quadratic() << "*x^2 + " << e.Linear() << "*x + " << e.Constant();
77  return os;
78 }
double Linear() const
Definition: QuadExpr.h:16
double Constant() const
Definition: QuadExpr.h:17
double Quadratic() const
Definition: QuadExpr.h:15