|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.nengo.util.impl.LinearInterpolatorND
public class LinearInterpolatorND
Interpolates linearly between adjacent values of a vector time series. TODO: test
| Constructor Summary | |
|---|---|
LinearInterpolatorND(TimeSeries series)
|
|
| Method Summary | |
|---|---|
IndexFinder |
getFinder(float[] times)
Uses a StatefulIndexFinder by default. |
float[] |
interpolate(float time)
|
void |
setTimeSeries(TimeSeries series)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearInterpolatorND(TimeSeries series)
series - Series to interpolate| Method Detail |
|---|
public void setTimeSeries(TimeSeries series)
setTimeSeries in interface InterpolatorNDInterpolatorND.setTimeSeries(ca.nengo.util.TimeSeries)public float[] interpolate(float time)
interpolate in interface InterpolatorNDInterpolatorND.interpolate(float)public IndexFinder getFinder(float[] times)
times - Times of time series
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||