Package org.jblas.util
Class SanityChecks
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static int
checksFailed
-
Constructor Summary
Constructors Constructor Description SanityChecks()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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)
-
-