rkm.butcher
Class CustomButcherMatrix

java.lang.Object
  extended by rkm.butcher.ButcherMatrix
      extended by rkm.butcher.CustomButcherMatrix

public class CustomButcherMatrix
extends ButcherMatrix

A custom-built Butcher matrix.


Field Summary
 
Fields inherited from class rkm.butcher.ButcherMatrix
a, b, c
 
Constructor Summary
CustomButcherMatrix(double[][] a, double[] b, double[] c)
           
 
Method Summary
 int order()
           
 java.lang.String toString()
           
 
Methods inherited from class rkm.butcher.ButcherMatrix
a, b, c, getAvailableMethods, getCustomButcherMatrix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomButcherMatrix

public CustomButcherMatrix(double[][] a,
                           double[] b,
                           double[] c)
Method Detail

order

public int order()
Specified by:
order in class ButcherMatrix
Returns:
the order of the matrix. This is the size (n) of submatrices A (nxn), B (1xn) and C (nx1).

toString

public java.lang.String toString()
Specified by:
toString in class ButcherMatrix
Returns:
a description of the Runge-Kutta method this matrix represents.