SCM

SCM Repository

[matrix] Diff of /pkg/R/lgCMatrix.R
ViewVC logotype

Diff of /pkg/R/lgCMatrix.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1313, Thu Jul 6 17:24:01 2006 UTC revision 1314, Mon Jul 10 15:23:48 2006 UTC
# Line 21  Line 21 
21            .Call(lgCMatrix_crossprod, x, FALSE, NULL),            .Call(lgCMatrix_crossprod, x, FALSE, NULL),
22            valueClass = "lsCMatrix")            valueClass = "lsCMatrix")
23    
24    setMethod("diag", signature(x = "lgCMatrix"),
25              function(x, nrow, ncol = n) .Call(lgCMatrix_diag, x))
26    
27    
28  setAs("lgCMatrix", "dgCMatrix",  setAs("lgCMatrix", "dgCMatrix",
29        function(from) new("dgCMatrix", i = from@i, p = from@p,        function(from) new("dgCMatrix", i = from@i, p = from@p,
30                           x = rep(1, length(from@i)),                           x = rep(1, length(from@i)),

Legend:
Removed from v.1313  
changed lines
  Added in v.1314

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge