Class FieldHermiteInterpolator<T extends FieldElement<T>>

java.lang.Object
org.apache.commons.math4.analysis.interpolation.FieldHermiteInterpolator<T>
Type Parameters:
T - Type of the field elements.

public class FieldHermiteInterpolator<T extends FieldElement<T>>
extends java.lang.Object
Polynomial interpolator using both sample values and sample derivatives.

The interpolation polynomials match all sample points, including both values and provided derivatives. There is one polynomial for each component of the values vector. All polynomials have the same degree. The degree of the polynomials depends on the number of points and number of derivatives at each point. For example the interpolation polynomials for n sample points without any derivatives all have degree n-1. The interpolation polynomials for n sample points with the two extreme points having value and first derivative and the remaining points having value only all have degree n+1. The interpolation polynomial for n sample points with value, first and second derivative for all points all have degree 3n-1.

Since:
3.2
  • Constructor Summary

    Constructors 
    Constructor Description
    FieldHermiteInterpolator()
    Create an empty interpolator.
  • Method Summary

    Modifier and Type Method Description
    void addSamplePoint​(T x, T[]... value)
    Add a sample point.
    T[][] derivatives​(T x, int order)
    Interpolate value and first derivatives at a specified abscissa.
    T[] value​(T x)
    Interpolate value at a specified abscissa.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait