java.lang.Object
studio.magemonkey.fabled.data.formula.func.Abs
All Implemented Interfaces:
IValue

public class Abs extends Object implements IValue
  • Constructor Details

    • Abs

      public Abs(IValue formula)
      Parameters:
      formula - wrapped formula
  • Method Details

    • compute

      public double compute(double... input)
      Gets the value using the inputs
      Specified by:
      compute in interface IValue
      Parameters:
      input - the input data
      Returns:
      result value