public interface MultivariateGrid
double values. The
independent variables are labeled \(x_{i}\) and the dependent variable is y.
Each independent variable adds another dimension to the grid.| Modifier and Type | Method and Description |
|---|---|
int |
dimension()
Get the total number of dimensions of the grid.
|
int |
size(int i)
Get the size of the grid in the given dimension \(x_{i}\).
|
double[] |
x(int i)
Get all the values of the independent variable \(x_{i}\) as an array.
|
double |
x(int i,
int j)
Get the value of the independent variable \(x_{i}\) at the given index.
|
double |
y(int... indices)
Get the value of the dependent variable y at the given indices in the grid.
|
double y(int... indices)
indices - the indices of the independent variables in the griddouble x(int i,
int j)
i - the dimension index of the independent variable \(x_{i}\)j - the index of the value in the specified dimension \(x_{i}\)double[] x(int i)
i - the dimension index of the independent variable \(x_{i}\)int size(int i)
i - the dimension index of the independent variable \(x_{i}\)int dimension()
Copyright © 2010-2026 NM Group. All Rights Reserved.