dwvisser.math
Interface DiffEquations

All Known Implementing Classes:
EnergyLoss

public interface DiffEquations


Method Summary
 double[] dydx(double at, double[] values)
          An interface expected by RungeKutta4 for evaluating a set of derivatives dy[i]/dx at the values y[i] and x.
 

Method Detail

dydx

public double[] dydx(double at,
                     double[] values)
An interface expected by RungeKutta4 for evaluating a set of derivatives dy[i]/dx at the values y[i] and x.

Parameters:
at - the x-value
values - the y-values
Returns:
the derivatives dy[i]/dx