Class AbstractGrid
java.lang.Object
net.finmath.finitedifference.grids.AbstractGrid
- All Implemented Interfaces:
Grid
- Direct Known Subclasses:
ExponentialGrid, GaussianGrid, GridWithMandatoryPoint, HyperbolicSineGrid, UniformGrid
Abstract base class for implementations of
Grid.
Provides a default implementation of getInteriorGrid(),
returning the grid without the first and last points.
- Author:
- Alessandro Gnoatto
-
Constructor Details
-
AbstractGrid
public AbstractGrid()
-
-
Method Details
-
getInteriorGrid
public double[] getInteriorGrid()Returns the interior grid, excluding the first and the last entry.- Specified by:
getInteriorGridin interfaceGrid- Returns:
- An array containing the interior grid points.
-