2 using System.Collections;
13 eqnStrings =
new string[]{
16 "zdot = -x(1.5 - bz) - 0.05z "
21 new Vector3(0f, 0, 0.1f)),
26 paramNames =
new string[] {
"a",
"b",};
38 public override void Function(ref
float[] x_in, ref
float[] x_out) {
40 x_out[0] = x_in[0]*(4f-x_in[1]) + a*x_in[2];
41 x_out[1] = -x_in[1]*(1f-x_in[0]*x_in[0]);
42 x_out[2] = -x_in[0]*(1.5f - b * x_in[2]) - 0.05f*x_in[2];
float[] eqnParam
parameters used in the equation
override void SetParams(ParamBundle pb)
Sets the parameter bunlde to be used by the system.
Chaos eqn. Base class for all equations that define a 3D chaotic system.
override void Function(ref float[] x_in, ref float[] x_out)
Evaluate the first order evolution of the attractor, given the current position.
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.