org.jblas.util
Class SanityChecks

java.lang.Object
  extended by org.jblas.util.SanityChecks

public class SanityChecks
extends java.lang.Object

Run a few sanity checks on the installation to see whether everything runs as expected.

Author:
Mikio L. Braun

Field Summary
static int checksFailed
           
 
Constructor Summary
SanityChecks()
           
 
Method Summary
static void check(java.lang.String message, boolean condition)
           
static void checkComplexReturnValues()
           
static void checkEigenvalues()
          Compute eigenvalues.
static void checkGeneralizedEigenvalues()
           
static void checkMatrixMultiplication()
          Check matrix multiplication.
static void checkSVD()
           
static void checkVectorAddition()
          Check whether vector addition works.
static void checkXerbla()
          Check whether error handling works.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

checksFailed

public static int checksFailed
Constructor Detail

SanityChecks

public SanityChecks()
Method Detail

check

public static void check(java.lang.String message,
                         boolean condition)

checkVectorAddition

public static void checkVectorAddition()
Check whether vector addition works. This is pure Java code and should work.


checkMatrixMultiplication

public static void checkMatrixMultiplication()
Check matrix multiplication. This is already ATLAS/BLAS code.


checkXerbla

public static void checkXerbla()
Check whether error handling works. If it works, you should see an ok, otherwise, you might see the actual error message and then the program exits.


checkEigenvalues

public static void checkEigenvalues()
Compute eigenvalues. This is a routine not in ATLAS, but in the original LAPACK.


checkSVD

public static void checkSVD()

checkGeneralizedEigenvalues

public static void checkGeneralizedEigenvalues()

checkComplexReturnValues

public static void checkComplexReturnValues()

main

public static void main(java.lang.String[] args)


© 2008-2010 by Mikio L. Braun and contributors