SCM

SCM Repository

[matrix] Diff of /pkg/R/lsCMatrix.R
ViewVC logotype

Diff of /pkg/R/lsCMatrix.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 728, Sat May 14 00:21:17 2005 UTC revision 729, Tue May 17 17:16:39 2005 UTC
# Line 6  Line 6 
6        function(from) new("dsCMatrix", i = from@i, p = from@p,        function(from) new("dsCMatrix", i = from@i, p = from@p,
7                           x = rep(1, length(from@i)), uplo = from@uplo,                           x = rep(1, length(from@i)), uplo = from@uplo,
8                           Dim = from@Dim, Dimnames = from@Dimnames))                           Dim = from@Dim, Dimnames = from@Dimnames))
9    
10    setMethod("image", "lsCMatrix",
11              function(x, ...) {
12                  x <- as(as(x, "dsCMatrix"), "dgTMatrix")
13                  callGeneric()
14              })
15    
16    setMethod("chol", signature(x = "lsCMatrix", pivot = "missing"),
17              function(x, pivot, LINPACK) .Call("lsCMatrix_chol", x, TRUE))
18    
19    setMethod("chol", signature(x = "lsCMatrix", pivot = "logical"),
20              function(x, pivot, LINPACK) .Call("lsCMatrix_chol", x, pivot))
21    
22    setMethod("t", signature(x = "lsCMatrix"),
23              function(x) .Call("lsCMatrix_trans", x),
24              valueClass = "lsCMatrix")

Legend:
Removed from v.728  
changed lines
  Added in v.729

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