Class DomainRestrictor

All Implemented Interfaces:
Differentiable, Evaluable, Outputable, Simplifiable, Comparable<GeneralFunction>, Iterable<GeneralFunction>

public class DomainRestrictor
extends PiecewiseFunction
The DomainRestrictor class allows for the restriction of domains of ranges of functions. When domainTester returns true, this class functions as the identity, but when domainTester returns false, evaluate returns Double.NaN.