-
@mbennun writes: I am new to POMP and have a very basic question about the example code attached below. From the S state there are two rates that should be sampled using 'reulermultinom', rate[1] and rate[2]. Similarly, for the I states the rates are rate[3] and rate[4]. In each case the output should be two integers sampled from the proper size (S or I) and the rates (1 and 2 or 3 and 4)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Have a look at FAQ 3.6 and see if it doesn't answer your question. There is also this documentation on the C API to the If you are not familiar with C pointers, you may need to read up on the concept, for example here, here, or here. |
Beta Was this translation helpful? Give feedback.
-
Thank you! FAQ 3.6 answers my question very clearly. |
Beta Was this translation helpful? Give feedback.
@mbennun:
Have a look at FAQ 3.6 and see if it doesn't answer your question. There is also this documentation on the C API to the
reulermultinom
function.If you are not familiar with C pointers, you may need to read up on the concept, for example here, here, or here.