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 1672, Mon Nov 6 20:25:10 2006 UTC revision 1673, Mon Nov 6 20:54:26 2006 UTC
# Line 63  Line 63 
63    
64  setMethod("%*%", signature(x = "pMatrix", y = "Matrix"),  setMethod("%*%", signature(x = "pMatrix", y = "Matrix"),
65            function(x, y) y[x@perm , ])            function(x, y) y[x@perm , ])
66    
67    
68    .pMat.nosense <- function (x, i, j, ..., value)
69        stop('partially replacing "pMatrix" entries is not sensible')
70    setReplaceMethod("[", signature(x = "pMatrix", i = "index"), .pMat.nosense)
71    setReplaceMethod("[", signature(x = "pMatrix", i = "missing", j = "index"),
72                     .pMat.nosense) ##   explicit  ^^^^^^^^^^^^ for disambiguation

Legend:
Removed from v.1672  
changed lines
  Added in v.1673

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