TENSELE                 package:PTAk                 R Documentation

_E_l_e_m_e_n_t_a_r_y _T_e_n_s_o_r _p_r_o_d_u_c_t

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

     Computes the Tensor Product of a list of vectors  (or matrices)
     according to a given order.

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

      TENSELE(T,moins=NULL, asarray=TRUE,order=NULL,id=NULL)

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

       T: a list like a `solutions.PTAk' object and minimally  just
          contains `v' 

   moins: if not `NULL', vector of indexes  (in the list T) to skip  

 asarray: logical to specify the output form `TRUE' gives an array,
          `FALSE' gives a vector

   order: if not `NULL' vector of length `length(T)', `NULL' is
          equivalent to `length(T):1' as the function makes indexes in
          order run slowest to fastest 

      id: when `T' is a list of matrices, can be either a vector of
          `length(T)' giving indexes of the vectors for each space
          (following order) or a list of vectors of indexes.

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

     The tensor product of the vectors (or matrices) in the list `T' is
     computed, skipping or not the indexes in `moins', the output
     tensor is either in tensor form or in vector form. The way the
     tensor product is done follows `order'.

_V_a_l_u_e:

     According to `asarray' the value is either an array, or a vector
     representing the tensor product of the vectors (not in moins), the
     dimension in `order[1]' running the slowest.

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

     Didier Leibovici didier@fmrib.ox.ac.uk

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

     `REBUILD'

