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

Enable vectorized calculations #7

Open
3 tasks
elainethale opened this issue Aug 11, 2024 · 0 comments
Open
3 tasks

Enable vectorized calculations #7

elainethale opened this issue Aug 11, 2024 · 0 comments

Comments

@elainethale
Copy link
Contributor

Per https://github.com/mcabbott/AxisKeys.jl documentation, it seems like maybe performing operations like .+ when the dimension names do not line up will throw an error (which would be good). Thus:

  • Forward such operators to ParamArray
  • Write tests to ensure that they work as expected in both positive (success) and negative (failure) senses
  • Similarly, finish testing that read_param works completely as expected (see TODO in that function)

E.g., a long time ago I noted that we should be able to do calculations like customers.gamma .* transpose(model_data.omega) .* customers.d, which would save us a decent amount of code and fidgeting (i.e., for loops and indexes)

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

No branches or pull requests

1 participant