Class ScaleFactory


  • public class ScaleFactory
    extends java.lang.Object
    Factory class for accessing predefined scaling schemes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Scale ABS
      Returns the absolute value.
      static Scale EXP
      Returns Euler's number e raised to the power of the value.
      static Scale EXP10
      Returns the value raised to the power of 10.
      static Scale INVERSE
      Returns the inverse (1 / x) of the value.
      static Scale LOG
      Returns the natural logarithm (base e) of the value.
      static Scale LOG1P
      Returns the natural logarithm of the sum of the argument and 1.
      static Scale MAX
      Return the inverse value on its range (max - x)
      static Scale MIN
      Return the translated value x - Min.
      static Scale ORIGINAL
      Do not scale the value.
      static Scale XPLUS1
      Return the value plus 1.
    • Field Detail

      • ORIGINAL

        public static final Scale ORIGINAL
        Do not scale the value.
      • ABS

        public static final Scale ABS
        Returns the absolute value.
      • EXP10

        public static final Scale EXP10
        Returns the value raised to the power of 10.
      • EXP

        public static final Scale EXP
        Returns Euler's number e raised to the power of the value.
      • INVERSE

        public static final Scale INVERSE
        Returns the inverse (1 / x) of the value.
      • LOG

        public static final Scale LOG
        Returns the natural logarithm (base e) of the value.
      • LOG1P

        public static final Scale LOG1P
        Returns the natural logarithm of the sum of the argument and 1.
      • MIN

        public static final Scale MIN
        Return the translated value x - Min.
      • MAX

        public static final Scale MAX
        Return the inverse value on its range (max - x)
      • XPLUS1

        public static final Scale XPLUS1
        Return the value plus 1.
    • Method Detail

      • add

        public void add​(Scale entry)
      • getDefault

        public Scale getDefault()
      • getScales

        public java.util.List<Scale> getScales()
      • get

        public Scale get​(java.lang.String name)