This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

InitializeGenerator

InitializeGenerator[gen, problem, dvars, {t, tmin, tmax}, opts]
returns the trek generator gen[data] when called by EquationTrekker. The specific form of data depends on the trek generator gen.
IntializeGenerator[gen, problem, dvars, opts]
returns a trek generator which does not use an independent variable.
  • EquationTrekker[problem, dvars, {t, tmin, tmax}, TrekGenerator->{gen, subopts}] calls InitializeGenerator[gen, problem, dvars, {t, tmin, tmax}, {subopts}] to initialize the generator gen.
  • A new generator newgen can be created by giving the additional InitializeGenerator definition, newgen/:IntializeGenerator[newgen, ...]:=newgen[data]. In addition, definitions for the following DownValues of the function newgen[data] need to be given:
newgen[data]["Variables"[]]list of variables
newgen[data]["Display"[]]problem description to be displayed
newgen[data]["DisplayMode"[]]the display mode, either "Line" or "Points"
newgen[data]["FormatTrek"[t0,dvars0,{tmin,tmax}]]information used to tag TrekData
newgen[data]["ChangeParameters"[prules]]generator with data modified by new parameters
newgen[data]["GenerateTrek"[dvars0,{t0,tmin,tmax}]]list of data points to plot, with initial point given by dvars0 and t0