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

Subscript Aggregation #71

Closed
JamesPHoughton opened this issue Jun 28, 2016 · 0 comments · Fixed by #223
Closed

Subscript Aggregation #71

JamesPHoughton opened this issue Jun 28, 2016 · 0 comments · Fixed by #223

Comments

@JamesPHoughton
Copy link
Collaborator

Vensim allows you to perform certain aggregating operations across dimensions of a subscripted variable, such as:

SUM(My Variable[Dim1, Dim2!]

We'll need to modify the parsing grammar to handle this, and properly construct sum, product operations, etc.

For an example, see: https://github.com/SDXorg/test-models/tree/master/tests/subscript_aggregation, which should serve as a test case for this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant