Skip to content

Add method to check if the domain of two polynomials match

Damar Wicaksono requested to merge dev-144 into dev

A new method has_matching_domain() is added to all polynomial instances. This method checks if a given instance has matching internal and user domains with another instance, irrespective of the basis.

This MR should resolve Issue #144 (closed).

Additionally:

  • Originally, this functionality is provided by a private function inside the canonical polynomial module but also used in the lagrange polynomial module. Now as a method, it is available to all polynomial instances.
  • Add the relevant tests to the test suite.

Merge request reports

Loading