SCM

SCM Repository

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

View of /pkg/R/lCholCMatrix.R

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1038 - (download) (annotate)
Fri Nov 11 21:22:08 2005 UTC (13 years, 11 months ago) by bates
File size: 813 byte(s)
Adding PACKAGE = to .Call
                                        # Symbolic LDL' decompositions
                                        # of sparse matrices in
                                        # compressed, column-oriented format

setMethod("t", signature(x = "lCholCMatrix"),
          function(x) {
              as(x, "ltCMatrix") <- t(as(x, "ltCMatrix"))
              x
          },
          valueClass = "lCholCMatrix")

setMethod("solve", signature(a = "lCholCMatrix", b = "missing"),
          function(a, b)
          .Call("lCholCMatrix_solve", a, PACKAGE = "Matrix"),
          valueClass = "ltCMatrix")
          
setMethod("solve", signature(a = "lCholCMatrix", b = "lgCMatrix"),
          function(a, b)
          .Call("lCholCMatrix_lgCMatrix_solve", a, b, PACKAGE = "Matrix"),
          valueClass = "lgCMatrix")


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