SylvesterMatrix class
A Sylvester matrix is used to compute the discriminant of a polynomial starting from its coefficients.
Constructors
- SylvesterMatrix({required Algebraic polynomial})
-
Creates a SylvesterMatrix object.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- polynomial → Algebraic
-
The polynomial used to build the Sylvester matrix.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildMatrix(
) → ComplexMatrix - Builds the Sylvester matrix associated to the given polynomial.
-
matrixDeterminant(
) → Complex - Computes the determinant of the Sylvester matrix.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
polynomialDiscriminant(
{bool optimize = true}) → Complex - The discriminant of a polynomial P(x) is the determinant of the Sylvester matrix of P and P' (where P' is the derivative of P).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override