Objects from the Class
Objects could theoretically be created by calls of the form new("Naturals", dimension, name)
.
Usually an object of this class is not needed on its own. It is generated automatically when a univariate discrete
distribution is instantiated.Slots
dimension
- Object of class
"character"
: the dimension of the space, by default = 1 name
- Object of class
"character"
: the name of the space, by default = "Natural Space"
Extends
Class "Reals"
, directly.
Class "EuclideanSpace"
, by class "Reals"
.
Class "rSpace"
, by class "Reals"
.Methods
- initialize
signature(.Object = "Naturals")
: initialize method - liesIn
signature(object = "Naturals", x = "numeric")
: Does a particular vector only contain naturals?