Predicates on monomials #
In this file we define UnitMonomial: type to represent monomials without coefficient as a list of
its exponents. [e₁, e₂, ..., eₙ] corresponds to basis[0] ^ e₁ * ... * basis[n] ^ eₙ where
basis is the basis of functions.
Then we define some predicates for these lists:
FirstNonzeroIsPos limeans that the first non-zero element of the listliis positive.FirstNonzeroIsNeg limeans that the first non-zero element of the listliis negative.AllZero limeans that all elements inliare zero.
This trichotomy determines the asymptotic behaviour of a monomial:
FirstNonzeroIsPos means it tends to infinity, FirstNonzeroIsNeg means it tends to zero and
AllZero means it tends to a constant.
Unit monomial, represented as a list of its exponents. [e₁, e₂, ..., eₙ] corresponds to
basis[0] ^ e₁ * ... * basis[n] ^ eₙ where basis is the basis of functions.
Instances For
Sign of the first non-zero exponent of a unit monomial.
Instances For
Predicate stating that the first non-zero exponent is positive.
Instances For
Predicate stating that the first non-zero exponent is negative.
Instances For
Predicate stating that all exponents are zero.