[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce basic operators for signals #41

Open
ralfgerlich opened this issue Oct 20, 2021 · 0 comments
Open

Introduce basic operators for signals #41

ralfgerlich opened this issue Oct 20, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers modypy.model Affecting the core modelling facilities

Comments

@ralfgerlich
Copy link
Member

The Signal class should implement basic operators such as negation, addition, subtraction, multiplication and division so that simple expressions can be written. The operations shall be mapped so that for signals s1 and s2 and constant c the following holds:

  • (s1 op s2)(state)==s1(state) op s2(state)
  • (c op s1)(state)==c op s1(state)
  • (s1 op c)(state)==s1(state) op c
@ralfgerlich ralfgerlich added enhancement New feature or request good first issue Good for newcomers modypy.model Affecting the core modelling facilities labels Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers modypy.model Affecting the core modelling facilities
Projects
None yet
Development

No branches or pull requests

1 participant