minmax                 package:magic                 R Documentation

_a_r_e _a_l_l _e_l_e_m_e_n_t_s _o_f _a _v_e_c_t_o_r _i_d_e_n_t_i_c_a_l?

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

     Returns 'TRUE' if and only if all elements of a vector are
     identical.

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

     minmax(x, tol=1e-6)

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

       x: Vector to be tested

     tol: Relative tolerance allowed

_D_e_t_a_i_l_s:

     If 'x' is an integer, exact equality is required.  If real or
     complex, a relative tolerance of 'tol' is required.  Note that
     functions such as 'is.magic()' and 'is.semimagichypercube()' use
     the default value for 'tol'.  To change this,  define a new
     Boolean function that tests the sum to the required tolerance, and
     set 'boolean' to 'TRUE'

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

     Robin K. S. Hankin

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

     is.magic()

