SCM

SCM Repository

[matrix] Diff of /pkg/man/Matrix.Rd
ViewVC logotype

Diff of /pkg/man/Matrix.Rd

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

revision 1200, Mon Jan 23 16:01:20 2006 UTC revision 1201, Mon Jan 23 16:04:12 2006 UTC
# Line 54  Line 54 
54  Matrix(1:6, 3, 2)           # a 3 by 2 matrix  Matrix(1:6, 3, 2)           # a 3 by 2 matrix
55  Matrix(1:6, nrow=3)  Matrix(1:6, nrow=3)
56  Matrix(1:6, ncol=2)  Matrix(1:6, ncol=2)
57    Matrix(diag(4) >= 0)# -> "lsyMatrix"
58    Matrix(diag(4) >  0)# -> "ldiMatrix" with diag = "U"
59    \dontshow{
60    if(FALSE) ## FIXME --- does not yet work:
61    Matrix(upper.tri(matrix(,4,4)))# needs "matrix" to "ltCMatrix"
62    }
63  Matrix(1:9, nrow=3,  Matrix(1:9, nrow=3,
64         dimnames = list(c("a", "b", "c"), c("A", "B", "C")))         dimnames = list(c("a", "b", "c"), c("A", "B", "C")))
65  (I3 <- Matrix(diag(3)))# identity, i.e., unit "diagonalMatrix"  (I3 <- Matrix(diag(3)))# identity, i.e., unit "diagonalMatrix"

Legend:
Removed from v.1200  
changed lines
  Added in v.1201

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