package ballistics.utils.math.minmax

abstract class AbstractMinMaxCalculator {
    var delta = 0.00001
    var maxIterations = 150
    var sign = 1 // min = 1, max = -1

    abstract fun calculate(
        x1: Double,
        x2: Double,
        f: (Double) -> Double,
    ): Double?
}
