aplusarithm           package:compositions           R Documentation

_v_e_c_t_o_r_i_a_l _a_r_i_t_h_m_e_t_i_c _f_o_r _d_a_t_a_s_e_t_s _w_i_t_h _a_p_l_u_s _c_l_a_s_s

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

     The positive vectors equipped with the perturbation (defined as
     the element-wise product) as Abelian sum, and powertransform
     (defined as the element-wise powering with a scalar) as scalar
     multiplication forms a real vector space. These vector space
     operations are defined here in a similar way to '+.rmult'.

_U_s_a_g_e:

     perturbe.aplus(x,y)
        x+y
        x-y
        -x
        x*r
        r*x
        x/r
     power.aplus(x,r)

_A_r_g_u_m_e_n_t_s:

       x: an aplus vector or dataset of vectors 

       y: an aplus vector or dataset of vectors 

       r: a numeric vector of size 1 or nrow(x)

_D_e_t_a_i_l_s:

     The operators try to mimic the parallel operation of R for vectors
     of real numbers to vectors of amounts, represented as matrices
     containing the vectors as rows and works like the operators for
     '{rmult}'

_V_a_l_u_e:

     an object of class '"aplus"' containing the result of the
     corresponding operation on the vectors.

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

     'rmult', '%*%.rmult'

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

     x <- aplus(matrix( sqrt(1:12), ncol= 3 ))
     x
     x+x
     x + aplus(1:3)
     x * 1:4
     1:4 * x
     x / 1:4
     x / 10
     power.aplus(x,1:4)

