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 are a quotient and a remainder.

Constructors

AlgebraicDivision({required Algebraic quotient, required Algebraic remainder})
Creates an AlgebraicDivision with the given quotient and remainder.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
quotient Algebraic
The quotient of the division.
final
remainder Algebraic
The remainder of the divison.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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