Provides a abtract class for implementing the Newton-Raphson algorithm.