QT                   package:mgcv                   R Documentation

_Q_T _f_a_c_t_o_r_i_s_a_t_i_o_n _o_f _a _m_a_t_r_i_x

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

     If A is an r by c matrix,  where r<c, then it can be factorised: 
     AQ=[0,T] ,  where Q is an orthogonal matrix and T is reverse lower
     triangular. The first c-r columns of Q  from an orthogonal basis
     for the null space of A. Q is  returned as a sequence of r
     Householder rotations (from the right), as  described below.

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

     QT(A)

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

       A: is an R matrix having more columns than rows 

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

     This function is primarily useful for providing the null space of
     the  linear constraint matrix C, from the linear constraints  Cp=0
     , as a series of Householder rotations of the form  used
     internally by `mgcv()'. It does not need to be called to set up a
     problem  for solution by mgcv.

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

     The returned matrix R, say, is of the same dimension as the input 
     matrix A. Each of its rows contains a vector, u_i ,  defining one
     Householder rotation, H_i = (I - u_i u_i') . The orthogonal matrix
     Q is  defined by: Q=H_1 H_2 ...  H_r .

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

     Simon N. Wood snw@st-and.ac.uk

_R_e_f_e_r_e_n_c_e_s:

     Gill, Murray and Wright (1981) Practical Optimization, Academic 
     Press

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

     y<-rnorm(12,1,1)
     A<-matrix(y,2,6)
     B<-QT(A)

