LessEqualP
LessEqualP[value]⟹pattern
returns a pattern that matches any quantity less than or equal to value.
LessEqualP[value]⟹pattern
returns a pattern that matches any quantity equal to value or less than value by a multiple of increment.
Examples
Basic Examples (4)
Additional Examples (11)
Comparing distributions compares their means:
Distributions can be compared to reals and quantities as well:
Specify an increment in numeric case:
Pattern does not match if given quantity is greater than test quantity:
Can handle different Units, provided they are compatibile:
Pattern does not match if Units are incompatible:
Numeric values and quantities are incompatible:
Numeric values and quantities are incompatible:
Function does not evaluate on other inputs:

