Description Usage Arguments Details Value Author(s) See Also Examples

Computes the LQ decomposition of a matrix.

1 | ```
lq(X)
``` |

`X` |
A |

If *X* is an *n* by *p* matrix with *n ≤ p*, then
`lq`

computes the LQ decomposition of *X*. That is, *X
= LQ'* where *Q* is *p* by *n* with orthonormal columns
and *L* is *n* by *n* lower triangular with positive
diaognal entries.

`L`

An *n* by *n* lower triangular matrix with
positive diagonal entries.

`Q`

An *n* by *p* matrix with orthonormal columns.

The returned values satisfy `X = L %*% t(Q)`

, up to
numerical precision.

David Gerard.

`qr2`

for the related QR decomposition.

1 2 3 4 5 6 7 8 |

tensr documentation built on May 19, 2017, 7:25 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.