AlgebraicDivision class
This utility class holds the quotient and the remainder of a division between
two polynomials. When you use operator/
on two Algebraic objects, this
class is returned. For example:
final numerator = Algebraic.fromReal([1, -3, 2]);
final denominator = Algebraic.fromReal([1, 2]);
final res = numerator / denominator; // 'res' is of type 'AlgebraicDivision'
When dividing two polynomials, there always is a quotient and a remainder.
Constructors
- AlgebraicDivision({required Algebraic quotient, required Algebraic remainder})
-
Creates an AlgebraicDivision with the given quotient and remainder.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override