Norm                  package:onion                  R Documentation

_N_o_r_m _a_n_d _m_o_d_u_l_u_s _o_f _a_n _o_n_i_o_n_i_c _v_e_c_t_o_r

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

     Norm of an onionic vector: the  modulus and its square

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

     ## S3 method for class 'onion':
     Norm(z)
     ## S3 method for class 'onion':
     Mod(z)
     ## S3 replacement method for class 'onion':
     Mod(z) <- value
     ## S3 method for class 'onion':
     sign(x)

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

     x,z: Onionic vector

   value: A real vector

_N_o_t_e:

     The norm of onionic vector O is the product of O with its
     conjugate: |O|=OO^* but a more efficient numerical method is used
     (see 'dotprod()').

     The Mod of  onionic vector O is the square root of its norm.

     The sign of onionic O is the onion with the same direction as O
     but with unit Norm: 'sign(O)=O/Mod(O)'.

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

     Robin K. S. Hankin

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

     a <- roct(5)
     Norm(a)
     Mod(a)

