O1                   package:onion                   R Documentation

_U_n_i_t _o_n_i_o_n_s

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

     Each of the eight unit quaternions and octonions

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

     H1
     Hi
     Hj
     Hk
     H0
     Him
     Hall
     O1
     Oi
     Oj
     Ok
     Ol
     Oil
     Ojl
     O0
     Oim
     Oall

_F_o_r_m_a_t:

     Each one is an onionic vector of length one.

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

     Try 'Hi' (='quaternion(i=1)') to get the pattern for the first
     four.  The next ones are the zero quaternion, the pure imaginary
     quaternion with all components 1, and the quaternion with all
     components 1.  The ones beginning with "O" follow a similar
     pattern.

     These are just variables that may be overwritten and thus resemble
     'T' and 'F' whose value may be changed.

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

     Oall
     seq(from=O1,to=Oil,len=6)

     stopifnot(Hj*Hk ==  Hi)
     stopifnot(Okl*Oil == -Oj )  # See tests/aaa.R for the full set

