Opm::UniformTableLinear< T > Class Template Reference This class uses linear interpolation to compute the value (and its derivative) of a function f sampled at uniform points. More...
Inheritance diagram for Opm::UniformTableLinear< T >:
Detailed Descriptiontemplate<typename T>
|
T | the range type of the function (should be an algebraic ring type) |
enum Opm::UniformTableLinear::RangePolicy |
|
inline |
Default constructor.
|
inline |
Construct from vector of y-values.
xmin | the x value corresponding to the first y value. |
xmax | the x value corresponding to the last y value. |
y_values | vector of range values. |
|
inline |
Construct from array of y-values.
xmin | the x value corresponding to the first y value. |
xmax | the x value corresponding to the last y value. |
y_values | array of range values. |
num_y_values | the number of values in y_values. |
|
inline |
Evaluate the derivative at x.
x | a domain value |
|
inline |
Get the domain.
|
inline |
Evaluate the value at x.
x | a domain value |
|
inline |
Equality operator.
other | another UniformTableLinear. |
References Opm::UniformTableLinear< T >::left_, Opm::UniformTableLinear< T >::right_, Opm::UniformTableLinear< T >::xdelta_, Opm::UniformTableLinear< T >::xmin_, and Opm::UniformTableLinear< T >::y_values_.
|
inline |
Rescale the domain.
new_domain | the new domain as a pair of doubles. |
|
inline |
Sets the behavioural policy for evaluation to the left of the domain.
rp | the policy |
|
inline |
Sets the behavioural policy for evaluation to the right of the domain.
rp | the policy |
|
friend |
|
protected |
Referenced by Opm::UniformTableLinear< T >::operator==().
|
protected |
Referenced by Opm::UniformTableLinear< T >::operator==().
|
protected |
Referenced by Opm::UniformTableLinear< T >::operator==().
|
protected |
|
protected |
Referenced by Opm::UniformTableLinear< T >::operator==().
|
protected |
Referenced by Opm::UniformTableLinear< T >::operator==().