operator / method

AlgebraicDivision operator /(
  1. Algebraic other
)

This operator divides a polynomial by another polynomial of the same or lower degree.

The algorithm used to divide a polynomial by another is called "Polynomial long division" and it's implemented in the PolynomialLongDivision class.

Implementation

AlgebraicDivision operator /(Algebraic other) {
  final polyLongDivison = PolynomialLongDivision(
    polyNumerator: this,
    polyDenominator: other,
  );

  return polyLongDivison.divide();
}