EuclideanSpace-class          package:distr          R Documentation

_C_l_a_s_s "_E_u_c_l_i_d_e_a_n_S_p_a_c_e"

_D_e_s_c_r_i_p_t_i_o_n:

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

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     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.

_S_l_o_t_s:

     '_d_i_m_e_n_s_i_o_n': Object of class '"numeric"': the dimension of the
          space, by default = 1 

     '_n_a_m_e': Object of class '"character"': the name of the space, by
          default = "Euclidean Space"

_E_x_t_e_n_d_s:

     Class '"rSpace"', directly.

_M_e_t_h_o_d_s:

     _i_n_i_t_i_a_l_i_z_e 'signature(.Object = "EuclideanSpace")': initialize
          method 

     _l_i_e_s_I_n 'signature(object = "EuclideanSpace", x = "numeric")': Does
          a particular vector lie in this space or not?

     _d_i_m_e_n_s_i_o_n 'signature(object = "EuclideanSpace")': returns the
          dimension of the space 

     _d_i_m_e_n_s_i_o_n<- 'signature(object = "EuclideanSpace")': modifies the
          dimension of the space 

_A_u_t_h_o_r(_s):

     Thomas Stabla Thomas.Stabla@uni-bayreuth.de,
      Florian Camphausen Florian.Camphausen@uni-bayreuth.de,
      Peter Ruckdeschel Peter.Ruckdeschel@uni-bayreuth.de,
      Matthias Kohl Matthias.Kohl@uni-bayreuth.de

_S_e_e _A_l_s_o:

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

_E_x_a_m_p_l_e_s:

     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

