Class SanityChecks

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

public class SanityChecks extends Object
Run a few sanity checks on the installation to see whether everything runs as expected.
Author:
Mikio L. Braun
  • Field Details

  • Constructor Details

  • Method Details

    • check

      public static void check(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(String[] args)