#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 11 of file QuadExpr.h.
|
inline |
Definition at line 17 of file QuadExpr.h.
double QuadExpr::Eval | ( | double | x | ) | const |
Definition at line 69 of file QuadExpr.cxx.
|
inline |
Definition at line 16 of file QuadExpr.h.
Definition at line 45 of file QuadExpr.cxx.
|
inline |
Definition at line 31 of file QuadExpr.h.
Definition at line 63 of file QuadExpr.cxx.
Definition at line 23 of file QuadExpr.cxx.
|
inline |
Definition at line 29 of file QuadExpr.h.
Definition at line 15 of file QuadExpr.cxx.
Definition at line 38 of file QuadExpr.cxx.
|
inline |
Definition at line 30 of file QuadExpr.h.
Definition at line 30 of file QuadExpr.cxx.
|
inline |
Definition at line 15 of file QuadExpr.h.
|
static |
Definition at line 8 of file QuadExpr.cxx.
|
protected |
Definition at line 34 of file QuadExpr.h.
|
protected |
Definition at line 34 of file QuadExpr.h.
|
protected |
Definition at line 34 of file QuadExpr.h.