# SCM Repository

[matrix] Diff of /pkg/man/pMatrix-class.Rd
 [matrix] / pkg / man / pMatrix-class.Rd

# Diff of /pkg/man/pMatrix-class.Rd

revision 1672, Mon Nov 6 20:25:10 2006 UTC revision 1673, Mon Nov 6 20:54:26 2006 UTC
# Line 14  Line 14
14  \alias{coerce,pMatrix,TsparseMatrix-method}  \alias{coerce,pMatrix,TsparseMatrix-method}
15  \alias{solve,pMatrix,missing-method}  \alias{solve,pMatrix,missing-method}
16  \alias{t,pMatrix-method}  \alias{t,pMatrix-method}
17    \alias{[<-,pMatrix,index,ANY,ANY-method}
18    \alias{[<-,pMatrix,missing,index,ANY-method}
19    %
20  \title{Permutation matrices}  \title{Permutation matrices}
21  \description{The \code{"pMatrix"} class is the class of permutation  \description{The \code{"pMatrix"} class is the class of permutation
22    matrices, stored as 1-based integer permutation vectors.}    matrices, stored as 1-based integer permutation vectors.}
# Line 61  Line 64
64  \note{  \note{
65    The inverse of the typical \code{"pMatrix"} constructor,    The inverse of the typical \code{"pMatrix"} constructor,
66    \code{P <- as(ip, "pMatrix")} is simply \code{ip <- P@perm}.    \code{P <- as(ip, "pMatrix")} is simply \code{ip <- P@perm}.
67
68      Subsetting (\dQuote{indexing}) \code{"pMatrix"} objects treats them as
69      nonzero-pattern matrices, i.e., as \code{"linkS4class{ngTMatrix}"}
70      such that non-matrix subsetting result in \code{\link{logical}}
71      vectors.  Sub-assignment (\code{M[i,j] <- v}) is not sensible and
72      hence an error for these permutation matrices.
73  }  }
74  %\seealso{}  %\seealso{}
75  \examples{  \examples{

Legend:
 Removed from v.1672 changed lines Added in v.1673