sparse.matrixfree {bigQF} | R Documentation |
Make 'matrix-free' object from (sparse) Matrix
Description
Packages a matrix (which will typically be a sparse Matrix) for 'matrix-free' or 'implicit' stochastic SVD.
Usage
sparse.matrixfree(M)
Arguments
M |
A matrix or Matrix |
Value
Object of class 'matrixfree'
, with components
mult |
Function to multiply by |
tmult |
Function to multiply by |
trace |
trace of |
ncol |
dimensions of |
nrow |
dimensions of |
Author(s)
Thomas Lumley
See Also
pQF
,link{seigen}
,ssvd
, SKAT.matrixfree
Examples
data(sequence)
Msp<-sparse.matrixfree(sequence)
ssvd(Msp,n=10)
## this is slow, don't run it
svd(sequence,nu=0,nv=0)$d[1:10]
[Package bigQF version 1.6 Index]