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.
Equations
Instances For
Sign of the first non-zero exponent of a unit monomial.
Equations
- One or more equations did not get rendered due to their size.
- Tactic.ComputeAsymptotics.UnitMonomial.sign [] = Tactic.ComputeAsymptotics.UnitMonomial.Sign.zero
Instances For
Predicate stating that the first non-zero exponent is positive.
Equations
Instances For
Predicate stating that the first non-zero exponent is negative.
Equations
Instances For
Predicate stating that all exponents are zero.