| EuclideanSpace-class {distr} | R Documentation |
The distribution-classes contain a slot where the sample space is stored. One typical sample space is the Euclidean Space in dimension k.
EuclideanSpace(dimension = 1)
dimension |
positive integer: dimension of
the Euclidean space (default =1) |
Objects could theoretically be created by calls of the form new("EuclideanSpace", dimension, name).
Usually an object of this class is not needed on its own. EuclideanSpace is the mother-class of the class
Reals, which is generated automatically when a univariate absolutly continuous distribution is instantiated.
dimension:"numeric": the dimension of the space, by default = 1 name:"character": the name of the space, by default = "Euclidean Space"
Class "rSpace", directly.
signature(.Object = "EuclideanSpace"): initialize method signature(object = "EuclideanSpace", x = "numeric"): Does a particular vector lie in this space or
not?
signature(object = "EuclideanSpace"): returns the dimension of the space signature(object = "EuclideanSpace"): modifies the dimension of the space
Thomas Stabla statho3@web.de,
Florian Camphausen fcampi@gmx.de,
Peter Ruckdeschel Peter.Ruckdeschel@uni-bayreuth.de,
Matthias Kohl Matthias.Kohl@stamats.de
rSpace-class
Reals-class
Distribution-class
liesIn-methods
E <- EuclideanSpace(dimension = 2) dimension(E) # The dimension of this space is 2. dimension(E) <- 3 # The dimension of this space is now 3. liesIn(E,c(0,0,0)) # TRUE liesIn(E,c(0,0)) # FALSE