Calculates the extrema of an explicit function within an interval of its domain.

  • Parameters

    Returns number[]