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

Support vectors in differential equations #817

Open
pnbabu opened this issue Sep 23, 2022 · 0 comments
Open

Support vectors in differential equations #817

pnbabu opened this issue Sep 23, 2022 · 0 comments

Comments

@pnbabu
Copy link
Contributor

pnbabu commented Sep 23, 2022

Currently, vectors are not supported in the equations block in a NESTML model. The equations should be able to use and index the vector variables declared in the state or parameters block.

For example:

state:
  k_step integer = 0
  ..
end

equations:
  ...
  V_m' = ( -I_leak - I_syn_exc - I_syn_inh + I_e + I_stim + I_step[k_step] ) / C_m
end

parameters:
  ...
  n_step integer = 1
  I_step[n_step] pA = 0. pA
end
@pnbabu pnbabu changed the title Support vectors in differential equationsd Support vectors in differential equations Sep 23, 2022
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