JScience v4.3

org.jscience.mathematics.function
Class Interpolator.Linear<F extends Field<F>>

java.lang.Object
  extended by org.jscience.mathematics.function.Interpolator.Linear<F>
All Implemented Interfaces:
java.io.Serializable, javolution.lang.Immutable, Interpolator<F,F>
Enclosing interface:
Interpolator<P,V>

public static class Interpolator.Linear<F extends Field<F>>
extends java.lang.Object
implements Interpolator<F,F>

This class represents a linear interpolator for field instances (point and values from the same field).

Version:
3.0, February 13, 2006
Author:
Jean-Marie Dautelle
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jscience.mathematics.function.Interpolator
Interpolator.Linear<F extends Field<F>>
 
Constructor Summary
Interpolator.Linear()
           
 
Method Summary
 F interpolate(F point, java.util.SortedMap<F,F> pointValues)
          Estimates the value at the specified point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpolator.Linear

public Interpolator.Linear()
Method Detail

interpolate

public F interpolate(F point,
                     java.util.SortedMap<F,F> pointValues)
Description copied from interface: Interpolator
Estimates the value at the specified point.

Specified by:
interpolate in interface Interpolator<F extends Field<F>,F extends Field<F>>
Parameters:
point - the point for which the value is estimated.
pointValues - the point-value entries.
Returns:
the estimated value at the specified point.

JScience v4.3

Copyright © 2006 JScience.