OpendTect
7.0
|
A class for 3rd order polynomials on the form: a x^3 + b x^2 + c x + d. More...
Public Member Functions | |
ThirdOrderPoly (float a_=0, float b_=0, float c_=0, float d_=0) | |
SecondOrderPoly * | createDerivative () const |
int | getExtremePos (float &pos0, float &pos1) const |
float | getValue (float pos) const override |
void | setFromSamples (float y0, float y1, float y2, float y3) |
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 |
float | d |
A class for 3rd order polynomials on the form: a x^3 + b x^2 + c x + d.
<>
|
inline |
|
inline |
|
inline |
|
inlineoverride |
|
inline |
Fits the polynomial through the points. The points are considered to be sampled with y0 at x=-1 and y3 at x=2
float ThirdOrderPoly::a |
float ThirdOrderPoly::b |
float ThirdOrderPoly::c |
float ThirdOrderPoly::d |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024