Package uk.ac.qmul.eecs.depic.patterns
Class MathUtils.Interpolate
- java.lang.Object
-
- uk.ac.qmul.eecs.depic.patterns.MathUtils.Interpolate
-
- Enclosing class:
- MathUtils
public static class MathUtils.Interpolate extends java.lang.Object
Calculates values at any time in a sequence by interpolating the sequence values. A sequence is a finite series of float values at given times. In order to get values at any times, interpolation is necessary. This class can be useful to build a graph out of the sequence values. Of course, as the interpolation changes, the graph changes as well, as values at times different from those specified by the sequence will be calculated differently.
-
-
Constructor Summary
Constructors Constructor and Description Interpolate(Sequence sequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description float
linear(float time)
-
-
-
Constructor Detail
-
Interpolate
public Interpolate(Sequence sequence)
-
-