![]() |
OpendTect 8.0
|
A class for 2nd order polynomials of the form: a x^2 + b x + c. More...
#include <mathfunc.h>
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< float, float > | |
| float | getNDValue (const float *pos) const override |
| int | getNrDim () const override |
Public Member Functions inherited from MathFunctionND< RT, PT > | |
| virtual | ~MathFunctionND () |
| virtual RT | getNDValue (const PT *) const =0 |
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 |
|
inlineoverridevirtual |
Implements MathFunction< float, float >.
|
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-2025