Package org.jblas.util
Class SanityChecks
java.lang.Object
org.jblas.util.SanityChecks
Run a few sanity checks on the installation to see whether
everything runs as expected.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
Compute eigenvalues.static void
static void
Check matrix multiplication.static void
checkSVD()
static void
Check whether vector addition works.static void
Check whether error handling works.static void
private static void
-
Field Details
-
checksFailed
public static int checksFailed
-
-
Constructor Details
-
SanityChecks
public SanityChecks()
-
-
Method Details
-
check
-
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
-
printSummary
private static void printSummary()
-