LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "QuadExpr.h"
Public Member Functions | |
QuadExpr (double v) | |
double | Quadratic () const |
double | Linear () const |
double | Constant () const |
double | Eval (double x) const |
QuadExpr & | operator+= (const QuadExpr &e) |
QuadExpr & | operator-= (const QuadExpr &e) |
QuadExpr & | operator*= (const QuadExpr &e) |
QuadExpr | operator+ (const QuadExpr &e) const |
QuadExpr | operator- (const QuadExpr &e) const |
QuadExpr | operator* (const QuadExpr &e) const |
QuadExpr | operator+ (double v) const |
QuadExpr | operator- (double v) const |
QuadExpr | operator* (double v) const |
Static Public Member Functions | |
static QuadExpr | X () |
Protected Attributes | |
double | a |
double | b |
double | c |
Definition at line 8 of file QuadExpr.h.
|
inline |
Definition at line 10 of file QuadExpr.h.
References X().
Referenced by operator*(), operator+(), operator-(), and operator-().
|
inline |
Definition at line 16 of file QuadExpr.h.
References c, e, Eval(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), and x.
Referenced by operator<<().
double QuadExpr::Eval | ( | double | x | ) | const |
|
inline |
Definition at line 15 of file QuadExpr.h.
References b.
Referenced by Iterate(), operator<<(), and SolvePair().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 14 of file QuadExpr.h.
References a.
Referenced by Iterate(), operator<<(), and SolvePair().
|
static |
|
protected |
Definition at line 33 of file QuadExpr.h.
Referenced by Eval(), operator*(), operator+=(), operator-=(), and Quadratic().
|
protected |
Definition at line 33 of file QuadExpr.h.
Referenced by Eval(), Linear(), operator*(), operator+=(), operator-=(), and X().
|
protected |
Definition at line 33 of file QuadExpr.h.
Referenced by Constant(), Eval(), operator*(), operator+=(), and operator-=().