SCM

SCM Repository

[matrix] Annotation of /pkg/man/dsyMatrix-class.Rd
ViewVC logotype

Annotation of /pkg/man/dsyMatrix-class.Rd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 652 - (view) (download) (as text)

1 : bates 480 \name{dsyMatrix-class}
2 : bates 10 \docType{class}
3 : bates 480 \alias{\%*\%,dgeMatrix,dsyMatrix-method}
4 : bates 636 \alias{\%*\%,dspMatrix,dgeMatrix-method}
5 : bates 652 \alias{\%*\%,dspMatrix,integer-method}
6 : bates 636 \alias{\%*\%,dspMatrix,matrix-method}
7 : bates 652 \alias{\%*\%,dspMatrix,numeric-method}
8 : bates 651 \alias{\%*\%,dsyMatrix,dgeMatrix-method}
9 : bates 636 \alias{coerce,dspMatrix,dgeMatrix-method}
10 :     \alias{coerce,dspMatrix,dsyMatrix-method}
11 : bates 651 \alias{coerce,dspMatrix,matrix-method}
12 :     \alias{coerce,dsyMatrix,dgeMatrix-method}
13 :     \alias{coerce,dsyMatrix,dspMatrix-method}
14 : bates 480 \alias{coerce,dsyMatrix,matrix-method}
15 : bates 651 \alias{dspMatrix-class}
16 :     \alias{dsyMatrix-class}
17 : bates 636 \alias{norm,dspMatrix,character-method}
18 : bates 651 \alias{norm,dspMatrix,missing-method}
19 : bates 480 \alias{norm,dsyMatrix,character-method}
20 :     \alias{norm,dsyMatrix,missing-method}
21 : bates 651 \alias{rcond,dspMatrix,character-method}
22 : bates 636 \alias{rcond,dspMatrix,missing-method}
23 : bates 651 \alias{rcond,dsyMatrix,character-method}
24 : bates 636 \alias{rcond,dsyMatrix,missing-method}
25 : bates 651 \alias{solve,dspMatrix,dgeMatrix-method}
26 : bates 652 \alias{solve,dspMatrix,integer-method}
27 : bates 651 \alias{solve,dspMatrix,matrix-method}
28 : bates 636 \alias{solve,dspMatrix,missing-method}
29 : bates 652 \alias{solve,dspMatrix,numeric-method}
30 : bates 636 \alias{solve,dsyMatrix,dgeMatrix-method}
31 :     \alias{solve,dsyMatrix,matrix-method}
32 : bates 651 \alias{solve,dsyMatrix,missing-method}
33 :     \alias{t,dspMatrix-method}
34 :     \alias{t,dsyMatrix-method}
35 : bates 636 \alias{unpack,dspMatrix-method}
36 : bates 487 \title{Symmetric, dense matrices}
37 :     \description{The \code{"dsyMatrix"} class is the class of symmetric, dense
38 :     matrices in non-packed storage and \code{"dsyMatrix"} is the class of
39 :     symmetric dense matrices in packed storage. Only the upper triangle or the lower
40 : bates 10 triangle is stored.}
41 :     \section{Objects from the Class}{
42 : bates 480 Objects can be created by calls of the form \code{new("dsyMatrix", ...)}.
43 : bates 10 }
44 :     \section{Slots}{
45 :     \describe{
46 :     \item{\code{uplo}:}{Object of class \code{"character"}. Must be
47 :     either "U", for upper triangular, and "L", for lower triangular.}
48 :     \item{\code{x}:}{Object of class \code{"numeric"}. The numeric
49 :     values that constitute the matrix, stored in column-major order.}
50 :     \item{\code{Dim}:}{Object of class \code{"integer"}. The dimensions
51 :     of the matrix which must be a two-element vector of non-negative
52 :     integers.}
53 :     \item{\code{rcond}:}{Object of class \code{"numeric"}. A named
54 :     numeric vector of reciprocal condition numbers in either the
55 :     1-norm \code{"O"} or the infinity norm \code{"I"}.}
56 : bates 476 \item{\code{factors}:}{Object of class \code{"list"}. A named
57 : bates 10 list of factorizations that have been computed for the matrix.}
58 :     }
59 :     }
60 :     \section{Extends}{
61 : bates 480 Class \code{"dgeMatrix"}, directly.
62 :     Class \code{"Matrix"}, by class \code{"dgeMatrix"}.
63 : bates 10 }
64 :     \section{Methods}{
65 :     \describe{
66 : bates 651 \item{coerce}{\code{signature(from = "dspMatrix", to = "dgeMatrix")}}
67 : bates 480 \item{coerce}{\code{signature(from = "dsyMatrix", to = "dgeMatrix")}}
68 : bates 651 \item{coerce}{\code{signature(from = "dspMatrix", to = "matrix")}}
69 : bates 480 \item{coerce}{\code{signature(from = "dsyMatrix", to = "matrix")}}
70 : bates 651 \item{coerce}{\code{signature(from = "dsyMatrix", to = "dspMatrix")}}
71 :     \item{coerce}{\code{signature(from = "dspMatrix", to = "dsyMatrix")}}
72 :     \item{norm}{\code{signature(x = "dspMatrix", type = "character")}}
73 : bates 480 \item{norm}{\code{signature(x = "dsyMatrix", type = "character")}}
74 : bates 651 \item{norm}{\code{signature(x = "dspMatrix", type = "missing")}}
75 :     \item{norm}{\code{signature(x = "dsyMatrix", type = "missing")}}
76 :     \item{solve}{\code{signature(a = "dspMatrix", b = "missing")}}
77 :     \item{solve}{\code{signature(a = "dsyMatrix", b = "missing")}}
78 :     \item{solve}{\code{signature(a = "dspMatrix", b = "dgeMatrix")}}
79 :     \item{solve}{\code{signature(a = "dsyMatrix", b = "dgeMatrix")}}
80 :     \item{solve}{\code{signature(a = "dspMatrix", b = "matrix")}}
81 :     \item{solve}{\code{signature(a = "dsyMatrix", b = "matrix")}}
82 : bates 10 }
83 :     }
84 :     %\references{}
85 :     %\author{}
86 :     \seealso{
87 : bates 651 \code{\link{dgeMatrix-class}}, \code{\link{Matrix-class}},
88 :     \code{\link[base]{solve}}, \code{\link{norm}}, \code{\link{rcond}},
89 :     \code{\link[base]{t}}
90 : bates 10 }
91 : maechler 634 \examples{
92 :     ## Only upper triangular part matters (when uplo == "U" as per default)
93 :     (sy2 <- new("dsyMatrix", Dim = as.integer(c(2,2)), x = c(14, NA,32,77)))
94 :     (c2 <- chol(sy2))
95 :     str(c2)
96 :    
97 :     ## An example where chol() can't work
98 :     (sy3 <- new("dsyMatrix", Dim = as.integer(c(2,2)), x = c(14, -1, 2, -7)))
99 :     validObject(as(sy3, "dpoMatrix"), test=TRUE) # >> is not pos.def.
100 :     try(chol(sy3)) ## Error: not pos.def
101 :     }
102 : bates 10 \keyword{classes}

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