Class LinearRoot

  • All Implemented Interfaces:
    PolyRootSolver

    public class LinearRoot
    extends Object
    implements PolyRootSolver
    This is a solver for finding the roots of a linear equation. A linear equation is an algebraic equation in which each term is either a constant or the product of a constant and (the first power of) a single variable. That is, it has this form: ax + b = 0. The solution is simply
    x = -b/a
    See Also:
    Wikipedia: LinearRoot equation
    • Constructor Detail

      • LinearRoot

        public LinearRoot()