Enum Class Layout

java.lang.Object
java.lang.Enum<Layout>
smile.math.blas.Layout
All Implemented Interfaces:
Serializable, Comparable<Layout>, Constable

public enum Layout extends Enum<Layout>
Matrix layout.
  • Enum Constant Details

    • ROW_MAJOR

      public static final Layout ROW_MAJOR
      Row major layout.
    • COL_MAJOR

      public static final Layout COL_MAJOR
      Column major layout.
  • Method Details

    • values

      public static Layout[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Layout valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • blas

      public int blas()
      Returns the int value for BLAS.
      Returns:
      the int value for BLAS.
    • lapack

      public int lapack()
      Returns the byte value for LAPACK.
      Returns:
      the byte value for LAPACK.