File: matrix.ssc-class.Rd

package info (click to toggle)
r-cran-sparsem 1.84-2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,648 kB
  • sloc: fortran: 3,998; ansic: 75; makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,777 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\name{matrix.ssc-class}
\title{Class "matrix.ssc" - Sparse Matrices in [S]ymmetric [S]parse [C]olumn Format}
\docType{class}
\alias{matrix.ssc-class}
\description{
  A class for sparse matrices stored in symmetric sparse column ('ssc')
  format.
}
\section{Objects from the Class}{
Objects can be created by calls of the form \code{new("matrix.ssc", ...)}.
}
\section{Slots}{
  \describe{
    \item{\code{ra}:}{Object of class \code{numeric}, a real array of nnz elements containing the non-zero
        elements of the lower triangular part of A, stored in column order. Thus, if i<j, all elements
        of column i precede elements from column j. The order of elements
        within the column is immaterial.}
    \item{\code{ja}:}{Object of class \code{integer}, an integer array of nnz elements containing the row
        indices of the elements stored in `ra'.}
    \item{\code{ia}:}{Object of class \code{integer}, an integer array of n+1 elements containing pointers to
        the beginning of each column in the arrays `ra' and `ja'. Thus
        `ia[i]' indicates the position in the arrays `ra' and `ja'
        where the ith column begins. The last, (n+1)st, element of `ia'
        indicates where the n+1 column would start, if it existed.
      }
    \item{\code{dimension}:}{Object of class \code{integer}, dimension of the matrix }
  }
}
\section{Methods}{
  \describe{
    \item{as.matrix.csc}{\code{signature(x = "matrix.ssc")}: ... }
    \item{as.matrix.csr}{\code{signature(x = "matrix.ssc")}: ... }
    \item{as.matrix.ssr}{\code{signature(x = "matrix.ssc")}: ... }
    \item{as.matrix}{\code{signature(x = "matrix.ssc")}: ... }
    \item{dim}{\code{signature(x = "matrix.ssc")}: ... }
  }
}
\seealso{\code{\link{matrix.csr-class}}}
\keyword{classes}