https://github.com/cran/Matrix
Raw File
Tip revision: 05328526ea4a84c1226c2deb922a69a10e001c89 authored by Douglas Bates on 01 September 2006, 00:00:00 UTC
version 0.995-16
Tip revision: 0532852
MatrixFactorization.R
#### The "mother" of all  Matrix factorizations

## use a "fits all" bail-out method -- eventually this should not happen anymore
setMethod("expand", "MatrixFactorization",
          function(x, ...) .bail.out.1(.Generic, class(x)))

setMethod("show", "MatrixFactorization",
	  function(object) { ## cheap one -- can have better for sub-classes
	      ## cl <- class(object)
	      ## cat(sprintf("'MatrixFactorization' of class \"%s\"\n", cl))
	      cat("'MatrixFactorization' of ")
	      str(object)
	      })

back to top