SCM

SCM Repository

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

Diff of /pkg/R/Matrix.R

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

revision 1845, Wed May 16 21:24:41 2007 UTC revision 2005, Wed Jul 18 14:46:20 2007 UTC
# Line 282  Line 282 
282  setMethod("t", signature(x = "Matrix"),  setMethod("t", signature(x = "Matrix"),
283            function(x) .bail.out.1(.Generic, class(x)))            function(x) .bail.out.1(.Generic, class(x)))
284    
285    setMethod("norm", signature(x = "Matrix", type = "character"),
286              function(x, type, ...) .bail.out.1(.Generic, class(x)))
287    setMethod("rcond", signature(x = "Matrix", type = "character"),
288              function(x, type, ...) .bail.out.1(.Generic, class(x)))
289    
290    
291    ## for all :
292    setMethod("norm", signature(x = "ANY", type = "missing"),
293              function(x, type, ...) norm(x, type = "O", ...))
294    setMethod("rcond", signature(x = "ANY", type = "missing"),
295              function(x, type, ...) rcond(x, type = "O", ...))
296    
297    
298    
299    
300    
301  ## MM: More or less "Cut & paste" from  ## MM: More or less "Cut & paste" from
302  ## --- diff.default() from  R/src/library/base/R/diff.R :  ## --- diff.default() from  R/src/library/base/R/diff.R :
303  setMethod("diff", signature(x = "Matrix"),  setMethod("diff", signature(x = "Matrix"),
# Line 311  Line 327 
327  ## Group Methods  ## Group Methods
328    
329  ##-> see ./Ops.R  ##-> see ./Ops.R
330    ##         ~~~~~
331    ## For all  non-dMatrix objects, and note that  "all" and "any" have their own
332    setMethod("Summary", signature(x = "Matrix", na.rm = "ANY"),
333              function(x, ..., na.rm)
334              callGeneric(as(x,"dMatrix"), ..., na.rm = na.rm))
335    
336    
337  ### --------------------------------------------------------------------------  ### --------------------------------------------------------------------------
338  ###  ###

Legend:
Removed from v.1845  
changed lines
  Added in v.2005

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