public a ( int i, double x, double a ) : void | ||
i | int | The parameter is not used. |
x | double | The state vector at the previous state. |
a | double | The output of the function. |
return | void |
public void a(int i, double* x, double* a)
{
a[0] = this.k1.fV() * (this.theta1.fV() - x[0]);
a[1] = this.k2.fV() * (this.theta2.fV() - x[1]);
}