Arith-methods         package:hyperdirichlet         R Documentation

_A_r_i_t_h _m_e_t_h_o_d_s _f_o_r _h_y_p_e_r_d_i_r_i_c_h_l_e_t _o_b_j_e_c_t_s

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

     Methods for Arithmetic functions on hyperdirichlet objects.  There
     are only two operations:

        *  Add two of the same dimensions, as in 'a+b'

        *  Multiply a hyperdirichlet object by a length-one scalar, as
           in 'a*5' 

     Both these operations result in the normalization constant
     becoming unknown.

     No unary operations are defined.

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

     Arithmetic functions on hyperdirichlet objects return
     hyperdirichlet objects.  Multiplication operates on the powers
     (not parameters), thus it is defined so that 'a+a = 2*a = a*2';
     associativity means that 'a+...+a' (n copies) equals 'n*a'.

_N_o_t_e:

     The package delegates 'a+b' to 'hd_add()', which the user should
     use if more control is desired.

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

     Robin K. S. Hankin

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

     'hd_add'

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

     gd(1:3,1:3) + dirichlet(1:4)

     dirichlet(1:4) * 10

