number-class             package:Matrix             R Documentation

_C_l_a_s_s "_n_u_m_b_e_r" _o_f _P_o_s_s_i_b_l_y _C_o_m_p_l_e_x _N_u_m_b_e_r_s

_D_e_s_c_r_i_p_t_i_o_n:

     The class '"number"' is a virtual class, currently used for
     vectors of eigen values which can be '"numeric"' or '"complex"'.

     It is a simple class union ('setClassUnion') of '"numeric"' and
     '"complex"'.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Since it is a virtual Class, no objects may be created from it.

_E_x_a_m_p_l_e_s:

     showClass("number")
     stopifnot( is(1i, "number"), is(pi, "number"), is(1:3, "number") )

