Secant constructor
const
Secant({})
Creates a Secant object to find the root of an equation by using the secant method. Ideally, the two guesses should be close to the root.
Implementation
const Secant({
required super.function,
required this.a,
required this.b,
super.tolerance = 1.0e-10,
super.maxSteps = 15,
});