u.vectors | R Documentation |
This function constructs an order n * ( n + 1 ) / 2 identity matrix and an order matrix u that that maps the ordered pair of indices (i,j) i=j, ..., n; j=1, ..., n to a column in this identity matrix.
u.vectors(n)
n |
a positive integer value for the order of underlying matrices |
The function firsts constructs an identity matrix of order \frac{1}{2}n≤ft( {n + 1} \right). {{{\bf{u}}_{i,j}}} is the column vector in the order \frac{1}{2}n≤ft( {n + 1} \right) identity matrix for column k = ≤ft( {j - 1} \right)n + i - \frac{1}{2}j≤ft( {j - 1} \right).
A list with two named components
k |
order n square matrix that maps each ordered pair (i,j) to a column in the identity matrix |
I |
order \frac{1}{2}n≤ft( {n + 1} \right) identity matrix |
If the argument is not an integer, the function displays an error message and stops. If the argument is less than two, the function displays an error message and stops.
Frederick Novomestky fnovomes@poly.edu
Magnus, J. R. and H. Neudecker (1980). The elimination matrix, some lemmas and applications, SIAM Journal on Algebraic Discrete Methods, 1(4), December 1980, 422-449.
Magnus, J. R. and H. Neudecker (1999) Matrix Differential Calculus with Applications in Statistics and Econometrics, Second Edition, John Wiley.
u <- u.vectors( 3 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.