Rev 1110 | Rev 1735 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
### Coercion and Methods for Symmetric Triplet MatricessetAs("dsTMatrix", "dsCMatrix",function(from) .Call("dsTMatrix_as_dsCMatrix", from))## Conversion to dense storage is first to a dsyMatrixsetAs("dsTMatrix", "dsyMatrix",function(from) .Call("dsTMatrix_as_dsyMatrix", from))setAs("dsTMatrix", "dgeMatrix",function(from) as(as(from, "dsyMatrix"), "dgeMatrix"))setAs("dsTMatrix", "matrix",function(from) as(as(from, "dsyMatrix"), "matrix"))setMethod("t", signature(x = "dsTMatrix"),function(x)new("dsTMatrix", Dim = x@Dim,i = x@j, j = x@i, x = x@x,uplo = if (x@uplo == "U") "L" else "U"),valueClass = "dsTMatrix")