# EuclideanSpace-class

From distr v1.5
0th

Percentile

##### Class "EuclideanSpace"

The distribution-classes contain a slot where the sample space is stored. One typical sample space is the Euclidean Space in dimension k.

##### Objects from the Class

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.

##### Extends

Class "rSpace", directly.

rSpace-class Reals-class Distribution-class liesIn-methods

##### Aliases
• EuclideanSpace-class
• initialize,EuclideanSpace-method
##### Examples
E=new("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
Documentation reproduced from package distr, version 1.5, License: GPL (version 2 or later)

### Community examples

Looks like there are no examples yet.