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

public class Cos extends Object implements IValue
Cosine function
  • Constructor Details

    • Cos

      public Cos(IValue formula)
      Parameters:
      formula - wrapped value
  • 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