public interface MultivariateGrid
double
values. The
independent variables are labeled xi 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 xi.
|
double[] |
x(int i)
Get all the values of the independent variable xi as an array.
|
double |
x(int i,
int j)
Get the value of the independent variable xi 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 xij
- the index of the value in the specified dimension xidouble[] x(int i)
i
- the dimension index of the independent variable xiint size(int i)
i
- the dimension index of the independent variable xiint dimension()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.