Class FiniteDifferencePlotData2D
java.lang.Object
net.finmath.finitedifference.utilities.FiniteDifferencePlotData2D
Dependency-free plot descriptor for a two-dimensional finite-difference
surface.
The descriptor is compatible with plotting tools that consume a
DoubleBinaryOperator, for example external plot extensions, without
requiring this module to depend on those plotting libraries.
- Author:
- Alessandro Gnoatto
-
Constructor Summary
ConstructorsConstructorDescriptionFiniteDifferencePlotData2D(double xMin, double xMax, double yMin, double yMax, int numberOfPointsX, int numberOfPointsY, DoubleBinaryOperator function, String title, String xAxisLabel, String yAxisLabel, String zAxisLabel) Creates a two-dimensional plot descriptor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value.intReturns the value.intReturns the value.getTitle()Returns the value.Returns the value.doublegetXMax()Returns the value.doublegetXMin()Returns the value.Returns the value.doublegetYMax()Returns the value.doublegetYMin()Returns the value.Returns the value.
-
Constructor Details
-
FiniteDifferencePlotData2D
public FiniteDifferencePlotData2D(double xMin, double xMax, double yMin, double yMax, int numberOfPointsX, int numberOfPointsY, DoubleBinaryOperator function, String title, String xAxisLabel, String yAxisLabel, String zAxisLabel) Creates a two-dimensional plot descriptor.- Parameters:
xMin- The lower x-axis bound.xMax- The upper x-axis bound.yMin- The lower y-axis bound.yMax- The upper y-axis bound.numberOfPointsX- The number of plot points in the x direction.numberOfPointsY- The number of plot points in the y direction.function- The function to plot.title- The plot title.xAxisLabel- The x-axis label.yAxisLabel- The y-axis label.zAxisLabel- The z-axis label.
-
-
Method Details
-
getXMin
public double getXMin()Returns the value.- Returns:
- The value.
-
getXMax
public double getXMax()Returns the value.- Returns:
- The value.
-
getYMin
public double getYMin()Returns the value.- Returns:
- The value.
-
getYMax
public double getYMax()Returns the value.- Returns:
- The value.
-
getNumberOfPointsX
public int getNumberOfPointsX()Returns the value.- Returns:
- The value.
-
getNumberOfPointsY
public int getNumberOfPointsY()Returns the value.- Returns:
- The value.
-
getFunction
-
getTitle
-
getXAxisLabel
-
getYAxisLabel
-
getZAxisLabel
-