public class EvenlySpacedGrid extends java.lang.Object implements TimeGrid
| Modifier and Type | Field and Description |
|---|---|
int |
N
the number of time points
|
double |
T
the ending of the time interval
|
double |
T0
the beginning of the time interval
|
| Constructor and Description |
|---|
EvenlySpacedGrid(double T0,
double T,
int N)
Construct an evenly spaced/discretized time grid.
|
| Modifier and Type | Method and Description |
|---|---|
int |
size()
the number of time points
|
double |
T()
the last time point available
|
double |
t(int i)
the i-th time point in the time grid discretization
|
public final int N
public final double T0
public final double T
public EvenlySpacedGrid(double T0,
double T,
int N)
T0 - the beginning of the time intervalT - the ending of the time intervalN - the number of time pointspublic int size()
TimeGridpublic double t(int i)
i ∈ [1, N + 1].