https://github.com/cran/Matrix
Raw File
Tip revision: 0d6bb027b0d1a4bfc551f6d5d42cbbd7bd7a5e4d authored by Douglas Bates on 13 September 2006, 00:00:00 UTC
version 0.995-18
Tip revision: 0d6bb02
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