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") )

