File: inchol-class.Rd

package info (click to toggle)
r-cran-kernlab 0.9-33-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,216 kB
  • sloc: cpp: 6,011; ansic: 935; makefile: 2
file content (66 lines) | stat: -rw-r--r-- 1,642 bytes parent folder | download | duplicates (5)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
\name{inchol-class}
\docType{class}
\alias{inchol-class}
\alias{diagresidues}
\alias{maxresiduals}
\alias{pivots}
\alias{diagresidues,inchol-method}
\alias{maxresiduals,inchol-method}
\alias{pivots,inchol-method}

\title{Class "inchol" }
\description{The reduced Cholesky decomposition object}

\section{Objects from the Class}{Objects can be created by calls of the form \code{new("inchol", ...)}.
  or by calling the  \code{inchol} function.}

\section{Slots}{
  \describe{
    \item{\code{.Data}:}{Object of class \code{"matrix"} contains
      the decomposed matrix}

    \item{\code{pivots}:}{Object of class \code{"vector"} contains
      the pivots performed}

    \item{\code{diagresidues}:}{Object of class \code{"vector"} contains
      the diagonial residues}

    \item{\code{maxresiduals}:}{Object of class \code{"vector"} contains
    the maximum residues}
  }
}
\section{Extends}{
Class \code{"matrix"}, directly.
}
\section{Methods}{
  \describe{

    \item{diagresidues}{\code{signature(object = "inchol")}: returns
      the diagonial residues}

    \item{maxresiduals}{\code{signature(object = "inchol")}: returns
      the maximum residues}

    \item{pivots}{\code{signature(object = "inchol")}: returns
      the pivots performed}
  }
}

\author{Alexandros Karatzoglou\cr \email{alexandros.karatzoglou@ci.tuwien.ac.at}}


\seealso{ \code{\link{inchol}}, \code{\link{csi-class}}, \code{\link{csi}}}

  \examples{
data(iris)
datamatrix <- as.matrix(iris[,-5])
# initialize kernel function
rbf <- rbfdot(sigma=0.1)
rbf
Z <- inchol(datamatrix,kernel=rbf)
dim(Z)
pivots(Z)
diagresidues(Z)
maxresiduals(Z)
}
\keyword{classes}