eqdisco.knowledge.check_constraints#
- eqdisco.knowledge.check_constraints(equation, constraints, X=None, method='interval', splits=64)[source]#
Share of the domain where each constraint is violated.
method="interval"uses interval arithmetic on the symbolic derivative oversplitsboxes (falls back to sampling when the derivative cannot be expressed);"sampling"uses finite differences at random points. The default domain is the range ofX.