SCM

SCM Repository

[matrix] View of /pkg/R/Csparse.R
ViewVC logotype

View of /pkg/R/Csparse.R

Parent Directory Parent Directory | Revision Log Revision Log


Revision 928 - (download) (annotate)
Mon Sep 19 21:10:59 2005 UTC (13 years, 5 months ago) by bates
File size: 457 byte(s)
crossprod and tcrossprod for Tsparse
setMethod("crossprod", signature(x = "CsparseMatrix", y = "missing"),
	  function(x, y = NULL)
          .Call("Csparse_crossprod", x, FALSE, FALSE, PACKAGE = "Matrix"))

setMethod("t", signature(x = "CsparseMatrix"),
          function(x)
          .Call("Csparse_transpose", x, PACKAGE = "Matrix"))
          
setMethod("tcrossprod", signature(x = "CsparseMatrix"),
	  function(x)
          .Call("Csparse_crossprod", x, TRUE, FALSE, PACKAGE = "Matrix"))

R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge