Class Constant<R extends Ring<R>>

    • Method Detail

      • valueOf

        public static <R extends Ring<R>> Constant<R> valueOf​(R value)
        Returns a constant function of specified value.
        Parameters:
        value - the value returned by this function.
        Returns:
        the corresponding constant function.
      • getValue

        public R getValue()
        Returns the constant value for this function.
        Returns:
        getCoefficient(Term.CONSTANT)