E.1.9. - Data generation
These are the routines you provide that will be called by the overhead module routines.
|
In 3D mode, replace r with z.
All the functions except
setup()
return values of type
double
. The arguments are all of type
double
. All but
user4()
are called once for each data point.
The argument
t
is the parametric
variable in the type 2 user functions.
Otherwise, the arguments are
the values of the appropriate coordinate of the current data point.
In type 2 and 3 user functions, if you wish to keep the current value
of a coordinate, simply return the argument.