Class JxnCOMAnalyzer

java.lang.Object
  extended by JxnCOMAnalyzer

public class JxnCOMAnalyzer
extends java.lang.Object

Retrieves the solution from a ContinuousOutputModel.

See CommonsMath_ODE_Lotka_Volterra~Test.jxn for an example.


Method Summary
static double[] analyze(ContinuousOutputModel com, double[] t, int iState)
          Returns an array of state values yiState(tk) for tk values given in the array t.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

analyze

public static double[] analyze(ContinuousOutputModel com,
                               double[] t,
                               int iState)
Returns an array of state values yiState(tk) for tk values given in the array t.

Parameters:
com - model available from the integrator. See ODEIntegrator.addStepHandler(...) and ContinuousOutputModel
t - array of points in time where output is desired
iState - state for which output is desired
Returns:
values of a state variable at given points in time