All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class phaser.algorithm.Euler

java.lang.Object
   |
   +----phaser.algorithm.Algorithm
           |
           +----phaser.algorithm.Euler

public class Euler
extends Algorithm
A class that implements the Euler Algorithm:

y_n = y_{n - 1} + h * f( y_{n - 1}, t_{n - 1} )


Constructor Index

 o Euler()

Method Index

 o apply(Equation, double[], double[], double, double)
 o getStatKeys()
 o toString()

Constructors

 o Euler
 public Euler()

Methods

 o apply
 public void apply(Equation equation,
                   double xNew[],
                   double xOld[],
                   double stepSize,
                   double time)
Overrides:
apply in class Algorithm
 o getStatKeys
 public int[] getStatKeys()
Overrides:
getStatKeys in class Algorithm
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index