Interface BivariateGrid
-
- All Known Implementing Classes:
BivariateArrayGrid,BivariateRegularGrid
public interface BivariateGridA rectilinear (meaning that grid lines are not necessarily equally-spaced) bivariate grid ofdoublevalues. The independent variables are labeled x and y, and the dependent variable is labeled z.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intsizeX()Define the size of the grid along the x-axis.intsizeY()Define the size of the grid along the y-axis.double[]x()Get the values of the independent variable xi.doublex(int i)Get the value of xi, the i-th value of the independent variable x.double[]y()Get the values of the independent variable yj.doubley(int j)Get the value of yj, the j-th value of the independent variable y.doublez(int i, int j)Get the value of the dependent variable z at the given indices in the grid.
-
-
-
Method Detail
-
z
double z(int i, int j)Get the value of the dependent variable z at the given indices in the grid.- Parameters:
i- the index along the x-axisj- the index along the y-axis- Returns:
- z(xi, yj)
-
x
double x(int i)
Get the value of xi, the i-th value of the independent variable x.- Parameters:
i- the index- Returns:
- xi
-
x
double[] x()
Get the values of the independent variable xi.- Returns:
- xi's
-
y
double y(int j)
Get the value of yj, the j-th value of the independent variable y.- Parameters:
j- the index- Returns:
- yj
-
y
double[] y()
Get the values of the independent variable yj.- Returns:
- yj's
-
sizeX
int sizeX()
Define the size of the grid along the x-axis. That is, the number of points along the x-axis.- Returns:
- the size along the x-axis
-
sizeY
int sizeY()
Define the size of the grid along the y-axis. That is, the number of points along the y-axis.- Returns:
- the size along the y-axis
-
-