org.opensourcephysics.numerics.qss
Class Utils

java.lang.Object
  extended by org.opensourcephysics.numerics.qss.Utils

public class Utils
extends java.lang.Object


Constructor Summary
Utils()
           
 
Method Summary
static int[][] getIncidenceMatrix(boolean[][] matrix)
          Creates a direct incidence matrix for a QSS solver from a boolean matrix of double indices
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

getIncidenceMatrix

public static int[][] getIncidenceMatrix(boolean[][] matrix)
Creates a direct incidence matrix for a QSS solver from a boolean matrix of double indices

Parameters:
matrix - The [i][j] entry of the array must be true if the derivative of the i-th variable depends on the j-th variable
Returns:
the direct incidence matrix to implement org.opensourcephysics.numerics.qss.MultirateODE