Packages

o

cc.drx

Integrator

object Integrator

Source
integrator.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Integrator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Derivative = (State) => State
  2. trait Explicit extends AnyRef

    explicit Integrator https://en/wikipedia.org/wiki/Runge-Kutta_methods c,a,b,bp are the Butcher table coefficients

  3. case class State(t: Time, xs: X) extends Product with Serializable

Value Members

  1. def adaptive(f: Derivative, t: Time, N: Int, method: Explicit = rk45)(x0: State): State

    integrate with adaptive variable timesteps sizes

  2. def fixed(f: Derivative, t: Time, N: Int, method: Explicit)(x0: State): State

    integrate with fixed timesteps (allowing integration method choice)

  3. def fixed(f: Derivative, t: Time, N: Int)(x0: State): State

    integrate with fixed timesteps

  4. def rk4(f: Derivative, h: Time)(x0: State): State

    rk4 integration

  5. object State extends Serializable
  6. object fehlberg extends Explicit
  7. object rk45 extends Explicit
  8. object rk4e extends Explicit