gqr-class: Class '"gqr"'

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

Contains the results of a QR decomposition from using the qr() method on a gmatrix object. Note that the gmatrix solve function uses QR decompostion. Also, qr.coef can act on the gqr object. The qr method does not use pivoting or check the matrix rank. The QR and related methods are only available for cuda v7.0 or greater.

Objects from the Class

Objects can be created by calls of the qr() method.

Slots

qr:

Information about the Q and R matrices stored as and bject of class "gmatrix".

qraux:

Information about the Q matrix stored as an object of class "gvector".

Methods

qr.coef

Simular to the qr.coef function.

solve

Simular to the solve.qr function.

Author(s)

Nathan Morris

See Also

qr, qr.coef, solve.qr, solve

Examples

1
2
3
4
5
6
M=gmatrix(grnorm(25), 5,5,dup=FALSE)
y=grnorm(5)
solve(M)
solve(M,y)
myqr =qr(M)
solve(myqr,y)

gmatrix documentation built on May 29, 2017, 2:20 p.m.