Skip to content

Replace _is_like_identity_operator and _is_like_zero_operator #478

@sdrave

Description

@sdrave

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions