예제 #1
0
 /// <summary>
 /// Calculates the output of the State Space Model for a given time and input signal
 /// </summary>
 /// <param name="time">The time for which the output will be calculated.</param>
 /// <returns>The output of the State Space Model</returns>
 public virtual Vector Output(double time)
 {
     return(Output(time, Vector.Zero(this.state.Dimension)));
 }
예제 #2
0
 /// <summary>
 /// Calculates the derivative of the State Space Model for a given time and input signal
 /// </summary>
 /// <param name="time">The time for which the derivative will be calculated.</param>
 /// <returns>The derivative of the State Space Model</returns>
 public virtual Vector Derivative(double time)
 {
     return(Derivative(time, Vector.Zero(this.state.Dimension)));
 }