DomainGreater(v)(x) is True where x <= v.
| 859 | |
| 860 | |
| 861 | class _DomainGreater: |
| 862 | """ |
| 863 | DomainGreater(v)(x) is True where x <= v. |
| 864 | |
| 865 | """ |
| 866 | |
| 867 | def __init__(self, critical_value): |
| 868 | "DomainGreater(v)(x) = true where x <= v" |
| 869 | self.critical_value = critical_value |
| 870 | |
| 871 | def __call__(self, x): |
| 872 | "Executes the call behavior." |
| 873 | with np.errstate(invalid='ignore'): |
| 874 | return umath.less_equal(x, self.critical_value) |
| 875 | |
| 876 | |
| 877 | class _DomainGreaterEqual: |