For functions that are differentiable on a domain D, but undefined outside that domain, testing with finite differences can result in errors.
It would be useful to extend the API of TestUtils.test_rule to allow for this.
But I am unsure what form the generic interface should take, I am opening this to get ideas and then I would happy to make a PR.
For functions that are differentiable on a domain
D, but undefined outside that domain, testing with finite differences can result in errors.It would be useful to extend the API of
TestUtils.test_ruleto allow for this.But I am unsure what form the generic interface should take, I am opening this to get ideas and then I would happy to make a PR.