DynamicEq

scalation.dynamics.DynamicEq
class DynamicEq(f: Double => VectorD, d: Int)

The DynamicEq class may be used for determining trajectories x_t from a system of dynamic equations. x_t = f(t) f(t) is the vector function of time.

Value parameters

d

the number of dimensions

f

the vector-valued function of time

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def trajectory(t0: Double, t1: Double, n: Int): MatrixD

Record the trajectory for an object (e.g., golf ball) over n time points.

Record the trajectory for an object (e.g., golf ball) over n time points.

Value parameters

n

the number of points to plot

t0

the start time of the simulation

t1

the end time of the simulation

Attributes