https://github.com/cran/Matrix
Raw File
Tip revision: 1ea265846aa4016d22f4366c644336d49c7a5c79 authored by Douglas Bates on 07 November 2006, 00:00:00 UTC
version 0.9975-6
Tip revision: 1ea2658
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