Specialisation for the zero-th order polynomial. More...
#include <polynomial.hpp>
| Public Types | |
| typedef Array< double, 1 > | Coefficients | 
| The coefficient container storage type.  More... | |
| Public Member Functions | |
| Coefficients & | coefficients () | 
| Handle to the coefficient array, use to initialise the polynomial.  More... | |
| const Coefficients & | coefficients () const | 
| Non-modifiable handle to the coefficient array.  More... | |
| double | dderivative (const double &) const | 
| Access the second derivative directly (always returns 0)..  More... | |
| Polynomial< 0 > | derivative () const | 
| Derivative of a zero'th order polynomial is always zero.  More... | |
| double | derivative (const double &) const | 
| Access the derivative directly (always returns 0).  More... | |
| double | operator() (const double &) const | 
| Access the value of the polynomial at the specified point.  More... | |
| Polynomial () | |
| Default constructor.  More... | |
| void | shift_horizontal (const double &) | 
| Horizontal shift transform.  More... | |
| virtual | ~Polynomial () | 
| Private Attributes | |
| Coefficients | coeff | 
Specialisation for the zero-th order polynomial.
Represents a zero'th order polynomial (scalar). It is necessary to handle this separately as the derivatives do not return lower degree polynomials.
Definition at line 285 of file polynomial.hpp.
| typedef Array<double,1> ecl::Polynomial< 0 >::Coefficients | 
The coefficient container storage type.
Definition at line 290 of file polynomial.hpp.
| 
 | inline | 
Default constructor.
This initialises the scalar coefficient for the zero'th polynomial to zero.
Definition at line 301 of file polynomial.hpp.
| 
 | inlinevirtual | 
Definition at line 302 of file polynomial.hpp.
| 
 | inline | 
Handle to the coefficient array, use to initialise the polynomial.
This returns a handle to the coefficient array. Use this with the comma initialiser to conveniently set the polynomial.
Definition at line 366 of file polynomial.hpp.
| 
 | inline | 
Non-modifiable handle to the coefficient array.
Definition at line 372 of file polynomial.hpp.
| 
 | inline | 
Access the second derivative directly (always returns 0)..
Access the values of the second derivative directly (always returns 0)..
Definition at line 345 of file polynomial.hpp.
| 
 | inline | 
Derivative of a zero'th order polynomial is always zero.
Derivative of a zero'th order polynomial is always zero.
Definition at line 325 of file polynomial.hpp.
| 
 | inline | 
Access the derivative directly (always returns 0).
Access the values of the derivative directly (always returns 0)..
Definition at line 335 of file polynomial.hpp.
| 
 | inline | 
Access the value of the polynomial at the specified point.
Access the value of the polynomial at the specified point.
Definition at line 381 of file polynomial.hpp.
| 
 | inline | 
Horizontal shift transform.
Normally, shifts the polynomial along the x axis by the specified offset, but in the case of this specialisation, does not change the polynomial.
Definition at line 313 of file polynomial.hpp.
| 
 | private | 
Definition at line 383 of file polynomial.hpp.