public interface DataFunction
Modifier and Type | Method and Description |
---|---|
void |
eval(VectorNd vec,
double t,
double trel)
When used in a
NumericControlProbe , applies the numeric data
of this probe, supplied by vec , for either the specified
absolute time t or probe relative time trel . |
void eval(VectorNd vec, double t, double trel)
NumericControlProbe
, applies the numeric data
of this probe, supplied by vec
, for either the specified
absolute time t
or probe relative time trel
.
This will be called within the probe's default implementation of its
NumericControlProbe.applyData(maspack.matrix.VectorNd, double, double)
function, with the arguments
assuming the same roles.
When used in a NumericMonitorProbe
, evaluates a
vectored-valued function of time and stores the result in
vec
. This will be called within the probe's default
implementation of its NumericMonitorProbe.generateData(maspack.matrix.VectorNd, double, double)
function, with the arguments assuming the same roles.vec
- supplies (or returns) the numeric datat
- absolute time (seconds)trel
- probe relative time