Degree Helpers for Polynomial Rows #
def
CompPoly.PolynomialMatrix.polynomialDegree?
{F : Type u_1}
[Zero F]
[BEq F]
(p : CPolynomial F)
:
Optional degree of a univariate polynomial, with none for zero.
Instances For
A row is zero when all entries are zero.
Instances For
Executable zero-row predicate.
Instances For
theorem
CompPoly.PolynomialMatrix.exists_nonzero_entry_of_rowIsZero_false
{F : Type u_1}
[Zero F]
[BEq F]
[LawfulBEq F]
{row : PolynomialRow F}
(hrow : rowIsZero row = false)
:
∃ j < Array.size row, Array.getD row j 0 ≠ 0
Nonzero rows have an indexed nonzero entry.