rmultarithm           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 _i_n _a _c_l_a_s_s_i_c_a_l _v_e_c_t_o_r _s_c_a_l_e

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

     vector space operations computed for multiple vectors in parallel

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

        x+y
        x-y
        -x
        x*r
        r*x
        x/r

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

       x: an rmult vector or dataset of vectors 

       y: an rmult 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 on vectors
     of real numbers on vectors of vectors represented as matrices
     containing the vectors as rows.

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

     an object of class '"rmult"' 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 <- rmult(matrix( sqrt(1:12), ncol= 3 ))
     x
     x+x
     x + rmult(1:3)
     x * 1:4
     1:4 * x
     x / 1:4
     x / 10

