QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <quadratic.hpp>
Public Member Functions | |
quadratic (Real a, Real b, Real c) | |
Real | turningPoint () const |
Real | valueAtTurningPoint () const |
Real | operator() (Real x) const |
Real | discriminant () const |
bool | roots (Real &x, Real &y) const |
Private Attributes | |
Real | a_ |
Real | b_ |
Real | c_ |
Definition at line 32 of file quadratic.hpp.
Real turningPoint | ( | ) | const |
Real valueAtTurningPoint | ( | ) | const |
Definition at line 35 of file quadratic.cpp.
Real discriminant | ( | ) | const |
Definition at line 44 of file quadratic.cpp.
|
private |
Definition at line 43 of file quadratic.hpp.
|
private |
Definition at line 43 of file quadratic.hpp.
|
private |
Definition at line 43 of file quadratic.hpp.