jmathlibtests
Class Compare

java.lang.Object
  extended by jmathlibtests.Compare

public class Compare
extends java.lang.Object

helper class to compare different data objects from mathlib


Constructor Summary
Compare()
           
 
Method Summary
static boolean ArrayEquals(boolean[][] a, boolean[][] b)
          compare two dimensional boolean arrays
static boolean ArrayEquals(double[][] a, double[][] b)
          compare two dimensional numerical arrays
static boolean ArrayEquals(double[][] a, double[][] b, double tol)
          compare two dimensional numerical arrays
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compare

public Compare()
Method Detail

ArrayEquals

public static boolean ArrayEquals(double[][] a,
                                  double[][] b)
compare two dimensional numerical arrays


ArrayEquals

public static boolean ArrayEquals(double[][] a,
                                  double[][] b,
                                  double tol)
compare two dimensional numerical arrays


ArrayEquals

public static boolean ArrayEquals(boolean[][] a,
                                  boolean[][] b)
compare two dimensional boolean arrays


FOOTER

BOTTOM