ch.javasoft.smx.util
Class DimensionCheck

java.lang.Object
  extended by ch.javasoft.smx.util.DimensionCheck

public class DimensionCheck
extends Object

The DimensionCheck TODO type javadoc for DimensionCheck


Constructor Summary
DimensionCheck()
           
 
Method Summary
static void checkEqualColumnCount(MatrixBase mxA, MatrixBase mxB)
           
static void checkEqualDimensions(MatrixBase mxA, MatrixBase mxB)
           
static void checkEqualRowCount(MatrixBase mxA, MatrixBase mxB)
           
static void checkMulDimensions(MatrixBase srcA, MatrixBase srcB, MatrixBase dst)
           
static void checkSqareDimensions(MatrixBase mx)
           
static void checkTransposeDimensions(MatrixBase src, MatrixBase dst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimensionCheck

public DimensionCheck()
Method Detail

checkEqualDimensions

public static void checkEqualDimensions(MatrixBase mxA,
                                        MatrixBase mxB)
                                 throws IllegalArgumentException
Throws:
IllegalArgumentException

checkEqualRowCount

public static void checkEqualRowCount(MatrixBase mxA,
                                      MatrixBase mxB)
                               throws IllegalArgumentException
Throws:
IllegalArgumentException

checkEqualColumnCount

public static void checkEqualColumnCount(MatrixBase mxA,
                                         MatrixBase mxB)
                                  throws IllegalArgumentException
Throws:
IllegalArgumentException

checkTransposeDimensions

public static void checkTransposeDimensions(MatrixBase src,
                                            MatrixBase dst)
                                     throws IllegalArgumentException
Throws:
IllegalArgumentException

checkMulDimensions

public static void checkMulDimensions(MatrixBase srcA,
                                      MatrixBase srcB,
                                      MatrixBase dst)
                               throws IllegalArgumentException
Throws:
IllegalArgumentException

checkSqareDimensions

public static void checkSqareDimensions(MatrixBase mx)
                                 throws IllegalArgumentException
Throws:
IllegalArgumentException