Description Usage Arguments Value Note See Also
View source: R/polypdmp_generator.R
Let Q be the generator
of a PDMP. Method EVGenerator
computes the generator Q(f) where f is given as
f(i,z) = δᵢⱼ*z₁ᵐ¹*...*zₙᵐⁿ
with a given
vector m
and j
being a fixed state of the discrete variable d.
This method is needed to compute the expected value E(Xₜᵐ | d=j).
1 | EVGenerator(obj, m, j)
|
obj |
object of class |
m |
integer vector whose length equals the number of continous variables. |
j |
integer giving the state of the discrete variable. |
a polynomial represented as spray
object. This polynomial has
more variables than init(obj)
because the discrete variable d
is replaced by different indicator variables d1, ..., dk
, one for
every possible state. See blowupSpray
for more details.
This method only works for one discrete variable. This variable has to
be the last element of vector init
of model obj
.
generator
to compute the generator and obtain the
result as spray object with the same number of variables as
init(obj)
, generator
to compute the generator and
obtain the result as function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.