com.banda.function.business
Class DiffEquationsApproxBO

java.lang.Object
  extended by com.banda.function.business.DiffEquationsApproxBO
Direct Known Subclasses:
EulerMethodBO, RungeKutta4BO

public abstract class DiffEquationsApproxBO
extends Object

Since:
2012
Author:
© Peter Banda

Constructor Summary
DiffEquationsApproxBO(FunctionEvaluator<?,Double,Double[]> diffEquationsEvaluator, Double timeStep)
           
 
Method Summary
abstract  Double[] getApproxDiffs(Double[] currentValues)
           
protected  FunctionEvaluator<?,Double,Double[]> getDiffEquationsEvaluator()
           
protected  Double[] getDiffs(Double[] values)
           
protected  double getTimeStep()
           
protected static void mulByConst(Double[] vector, double constant)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffEquationsApproxBO

public DiffEquationsApproxBO(FunctionEvaluator<?,Double,Double[]> diffEquationsEvaluator,
                             Double timeStep)
Method Detail

getTimeStep

protected double getTimeStep()

getDiffEquationsEvaluator

protected FunctionEvaluator<?,Double,Double[]> getDiffEquationsEvaluator()

getDiffs

protected Double[] getDiffs(Double[] values)

getApproxDiffs

public abstract Double[] getApproxDiffs(Double[] currentValues)

mulByConst

protected static void mulByConst(Double[] vector,
                                 double constant)


Copyright © 2013. All Rights Reserved.