unuran.is.inversion | R Documentation |
Test whether a given unuran
generator object implements an
inversion method.
[Advanced] – Test type of method.
unuran.is.inversion(unr)
unr |
a |
A unuran
object may implement quite a couple of generation
methods. This function tests whether the method used in unr
is an (approximate) inversion method.
It returns TRUE
when unr
implements an inversion method
and FALSE
otherwise.
Josef Leydold and Wolfgang H\"ormann unuran@statmath.wu.ac.at.
unuran
.
## PINV is an inversion method unr <- pinvd.new(udnorm()) unuran.is.inversion(unr) ## TDR is a rejection method unr <- tdrd.new(udnorm()) unuran.is.inversion(unr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.