2 using System.Collections;
16 eqnStrings =
new string[]{
19 "zdot = -a x - b y - c z + d x^3 "
23 new ParamBundle(
"default (scaled)",
new float[]{-5.5f, 3.5f, 1f, -1f},
24 new Vector3(0.5f, -1f, 0.5f),
new Vector3(00.0f,00.1f,00.2f), 0.46f),
25 new ParamBundle(
"default",
new float[]{-5.5f, 3.5f, 1f, -1f},
26 new Vector3(0.5f, -1f, 0.5f)),
29 paramNames =
new string[] {
"a",
"b",
"c",
"d"};
43 public override void Function(ref
float[] x_in, ref
float[] x_out) {
47 x_out[2] = - a*x_in[0]- b*x_in[1] - c*x_in[2] + d*x_in[0]*x_in[0]*x_in[0];
override void Function(ref float[] x_in, ref float[] x_out)
Evaluate the first order evolution of the attractor, given the current position.
float[] eqnParam
parameters used in the equation
Chaos eqn. Base class for all equations that define a 3D chaotic system.
override void SetParams(ParamBundle pb)
Sets the parameter bunlde to be used by the system.
Parameter bundle. Container class to hold the values for starting a chaotic system. Holds the parameters for the equations and the initial position and scale values.