cumsum                  package:gmp                  R Documentation

_C_u_m_m_u_l_a_t_i_v_e, _p_r_o_d_u_c_t

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

     Theses functions overload cumsum and prod function for big
     rationals and big integers

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

     cumsum.bigz(...)
     cumsum.bigq(...)
     prod(...)

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

     ...: an element of class bigz or bigq.

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

     return an element of class bigz or bigq.

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

     Antoine Lucas

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

     'apply'

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

       x = as.bigz(1:12)
       cumsum(x)
       prod(x)
       
       x = as.bigq(1:12)
       cumsum(x)
       prod(x)
       

