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)


Search within the gmatrix package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.