SCM

SCM Repository

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

Diff of /pkg/R/sparseMatrix.R

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

revision 2101, Wed Jan 2 17:47:44 2008 UTC revision 2102, Fri Jan 11 22:35:25 2008 UTC
# Line 470  Line 470 
470  setMethod("rcond", signature(x = "sparseMatrix", type = "character"),  setMethod("rcond", signature(x = "sparseMatrix", type = "character"),
471            function(x, type, ...) {            function(x, type, ...) {
472                d <- dim(x)                d <- dim(x)
473                  ## FIXME: qr.R(qr(.)) warns about differing R (permutation!)
474                  ##        really fix qr.R() *or* go via dense in any cases
475                rcond(if(d[1] == d[2]) {                rcond(if(d[1] == d[2]) {
476                          warning("rcond(.) via  sparse -> dense  coercion")                          warning("rcond(.) via  sparse -> dense  coercion")
477                          as(x, "denseMatrix")                          as(x, "denseMatrix")

Legend:
Removed from v.2101  
changed lines
  Added in v.2102

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