![]() |
OpendTect
7.0
|
A class for 2nd order polynomials of the form: a x^2 + b x + c. More...
Public Member Functions | |
| SecondOrderPoly (float a_=0, float b_=0, float c_=0) | |
| LineParameters< float > * | createDerivative () const |
| float | getExtremePos () const |
| int | getRoots (float &pos0, float &pos1) const |
| float | getValue (float pos) const override |
| void | setFromSamples (float y0, float y1, float y2) |
Public Member Functions inherited from MathFunction< RT, PT > | |
| RT | getNDValue (const PT *pos) const override |
| int | getNrDim () const override |
| virtual RT | getValue (PT) const =0 |
Public Member Functions inherited from MathFunctionND< RT, PT > | |
| virtual | ~MathFunctionND () |
Public Attributes | |
| float | a |
| float | b |
| float | c |
A class for 2nd order polynomials of the form: a x^2 + b x + c.
<>
|
inline |
| LineParameters<float>* SecondOrderPoly::createDerivative | ( | ) | const |
|
inline |
|
inline |
|
inlineoverride |
|
inline |
Fits the polynomial through the points. The points are considered to be sampled with y0 at x=-1 and y2 at x=1
| float SecondOrderPoly::a |
| float SecondOrderPoly::b |
| float SecondOrderPoly::c |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024