Class MinFunction

java.lang.Object
com.graphbuilder.math.func.MinFunction
All Implemented Interfaces:
Function

public class MinFunction extends Object implements Function
The min function.
  • Constructor Details

    • MinFunction

      public MinFunction()
  • Method Details

    • of

      public double of(double[] d, int numParam)
      Returns the minimum value of the specified inputs. Double.MIN_VALUE is returned for 0 parameters.
      Specified by:
      of in interface Function
    • acceptNumParam

      public boolean acceptNumParam(int numParam)
      Returns true for 0 or more parameters, false otherwise.
      Specified by:
      acceptNumParam in interface Function
    • toString

      public String toString()
      Overrides:
      toString in class Object