SCM

SCM Repository

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

Diff of /pkg/R/pMatrix.R

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

revision 638, Tue Mar 15 00:43:21 2005 UTC revision 650, Tue Mar 15 01:53:58 2005 UTC
# Line 9  Line 9 
9  setAs("pMatrix", "matrix",  setAs("pMatrix", "matrix",
10        function(from) {        function(from) {
11            fp <- from@perm            fp <- from@perm
12            diag(nrow = length(fp))[ , fp]            diag(nrow = length(fp))[fp , ]
13        })        })
14    
15  setMethod("solve", signature(a = "pMatrix", b = "missing"),  setMethod("solve", signature(a = "pMatrix", b = "missing"),

Legend:
Removed from v.638  
changed lines
  Added in v.650

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