public abstract class DataFunctionBase extends java.lang.Object implements DataFunction, Clonable
Constructor and Description |
---|
DataFunctionBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
abstract 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 . |
public abstract 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.eval
in interface DataFunction
vec
- supplies (or returns) the numeric datat
- absolute time (seconds)trel
- probe relative time