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

Build support for multi-dimensional arrays #318

Open
SergeStinckwich opened this issue May 12, 2021 · 0 comments
Open

Build support for multi-dimensional arrays #318

SergeStinckwich opened this issue May 12, 2021 · 0 comments

Comments

@SergeStinckwich
Copy link
Collaborator

SergeStinckwich commented May 12, 2021

Requirements

The transition rates may have various dimensions.
Examples:

  • mu is the transition rate between R and empty and empty and S.
    What is the dimension of this rate?
    mu is a scalar or more generally, a tensor (multi-dimensional array) depending on the number of concerns and heterogeneity. For example, when concerns are status and species, mu maybe be a 2-rank tensor.
  • beta is the transition rate between S and I
    What is the dimension of this rate?
    beta is more complex than the other transition rate, because it can be heterogeneous on the state of 2 individuals: the S one and the I one. If there are n concerns, the dimension of beta may be up to 2*n.

Implementation and tests

One solution is to use TensorFlow: https://github.com/PolyMathOrg/libtensorflow-pharo-bindings

Operations to define

  • Hadamard product
  • regular matrix product
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