Class "gqr"

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.