After merging #464 we should either get rid of these helper methods or replace them by something better. These are used to check E for identity and D for zero-ness in LTISystems. Possible options that come to mind:
- Ensure that these operators are always exactly ZeroOperator or IdentityOperator by modifying
LTISystem.__add__ and SecondOrderSystem.to_lti.
- Move the methods to
pymor.algorithms and base them on RuleTables.
- Add
pymor.algorithms.simplify which replaces such operators by IdentityOperator or ZeroOperator.
- Add similar functionality to
pymor.algorithms.preassemble.
After merging #464 we should either get rid of these helper methods or replace them by something better. These are used to check
Efor identity andDfor zero-ness inLTISystems. Possible options that come to mind:LTISystem.__add__andSecondOrderSystem.to_lti.pymor.algorithmsand base them onRuleTables.pymor.algorithms.simplifywhich replaces such operators byIdentityOperatororZeroOperator.pymor.algorithms.preassemble.