InterpolationGrid
public class FixedNumberInterpolationGrid extends Object implements InterpolationGrid
The grid is adapted to the step considered, meaning that for short steps, the grid will be dense, while for long steps the points will be far away one from each other
Constructor | Description |
---|---|
FixedNumberInterpolationGrid(int pointsPerStep) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
double[] |
getGridPoints(double stepStart,
double stepEnd) |
Get grid points that are within the current step.
|
public FixedNumberInterpolationGrid(int pointsPerStep)
pointsPerStep
- number of points in the grid per steppublic double[] getGridPoints(double stepStart, double stepEnd)
The step is defined by its start and its end time.
getGridPoints
in interface InterpolationGrid
stepStart
- start of the stepstepEnd
- end of the stepCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.