SCM

SCM Repository

[matrix] View of /pkg/man/ndiMatrix-class.Rd
ViewVC logotype

View of /pkg/man/ndiMatrix-class.Rd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1548 - (download) (as text) (annotate)
Mon Sep 11 22:13:07 2006 UTC (12 years, 5 months ago) by maechler
File size: 1488 byte(s)
new nMatrix and subclasses; lsparse change to have x slot; many consequences
\name{ndiMatrix-class}
\docType{class}
\alias{ndiMatrix-class}
\alias{!,ndiMatrix-method}
\alias{coerce,ndiMatrix,ngCMatrix-method}
\alias{coerce,ndiMatrix,ngTMatrix-method}

\title{Class "ndiMatrix" of Diagonal Logical Matrices}
\description{The class \code{"ndiMatrix"} of logical diagonal matrices.
%% FIXME add more
}
\section{Objects from the Class}{
  Objects can be created by calls of the form \code{new("ndiMatrix", ...)}
  but typically rather via \code{\link{Diagonal}}.
}
\section{Slots}{
	 \describe{
    \item{\code{x}:}{Object of class \code{"logical"} ~~ }
    \item{\code{diag}:}{Object of class \code{"character"} ~~ }
    \item{\code{Dim}:}{Object of class \code{"integer"} ~~ }
    \item{\code{Dimnames}:}{Object of class \code{"list"} ~~ }
    \item{\code{factors}:}{Object of class \code{"list"} ~~ }
  }
}
\section{Extends}{
Class \code{"diagonalMatrix"}, directly.
Class \code{"lMatrix"}, directly.
Class \code{"denseMatrix"}, by class \code{"diagonalMatrix"}.
Class \code{"Matrix"}, by class \code{"denseMatrix"} and class \code{"lMatrix"}.
}
% \section{Methods}{
% No methods defined with class "ndiMatrix" in the signature.
% }
% \references{ ~put references to the literature/web site here ~ }
\seealso{
  Classes \code{\linkS4class{ddiMatrix}} and
  \code{\linkS4class{diagonalMatrix}}; function \code{\link{Diagonal}}.
}
\examples{
(lM <- Diagonal(x = c(TRUE,FALSE,FALSE)))
str(lM)#> gory details (slots)
%% FIXME
#not yet: crossprod(lM)
}
\keyword{classes}

R-Forge@R-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge