Enum Class RegrKind

java.lang.Object
java.lang.Enum<RegrKind>
dev.frostlake.functions.aggregate.RegrKind
All Implemented Interfaces:
Serializable, Comparable<RegrKind>, Constable

public enum RegrKind extends Enum<RegrKind>
Which member of the REGR_* linear-regression family a RegrAccumulator computes from its sums.
  • Enum Constant Details

    • SLOPE

      public static final RegrKind SLOPE
    • INTERCEPT

      public static final RegrKind INTERCEPT
    • R2

      public static final RegrKind R2
    • COUNT

      public static final RegrKind COUNT
    • AVGX

      public static final RegrKind AVGX
    • AVGY

      public static final RegrKind AVGY
    • SXX

      public static final RegrKind SXX
    • SYY

      public static final RegrKind SYY
    • SXY

      public static final RegrKind SXY
  • Method Details

    • values

      public static RegrKind[] 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 RegrKind 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