Class 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
    • 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()
      • main

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