\HeaderA{nsyMatrix-class}{Symmetric Dense Nonzero-Pattern Matrices}{nsyMatrix.Rdash.class}
\aliasA{coerce,matrix,nspMatrix-method}{nsyMatrix-class}{coerce,matrix,nspMatrix.Rdash.method}
\aliasA{coerce,matrix,nsyMatrix-method}{nsyMatrix-class}{coerce,matrix,nsyMatrix.Rdash.method}
\aliasA{coerce,nspMatrix,dspMatrix-method}{nsyMatrix-class}{coerce,nspMatrix,dspMatrix.Rdash.method}
\aliasA{coerce,nspMatrix,ngeMatrix-method}{nsyMatrix-class}{coerce,nspMatrix,ngeMatrix.Rdash.method}
\aliasA{coerce,nspMatrix,nsyMatrix-method}{nsyMatrix-class}{coerce,nspMatrix,nsyMatrix.Rdash.method}
\aliasA{coerce,nsyMatrix,dsyMatrix-method}{nsyMatrix-class}{coerce,nsyMatrix,dsyMatrix.Rdash.method}
\aliasA{coerce,nsyMatrix,ngeMatrix-method}{nsyMatrix-class}{coerce,nsyMatrix,ngeMatrix.Rdash.method}
\aliasA{coerce,nsyMatrix,nspMatrix-method}{nsyMatrix-class}{coerce,nsyMatrix,nspMatrix.Rdash.method}
\aliasA{nspMatrix-class}{nsyMatrix-class}{nspMatrix.Rdash.class}
\aliasA{t,nspMatrix-method}{nsyMatrix-class}{t,nspMatrix.Rdash.method}
\aliasA{t,nsyMatrix-method}{nsyMatrix-class}{t,nsyMatrix.Rdash.method}
\keyword{classes}{nsyMatrix-class}
\begin{Description}\relax
The \code{"nsyMatrix"} class is the class of symmetric, dense nonzero-pattern
matrices in non-packed storage and \code{"nspMatrix"} is the class of
of these in packed storage.  Only the upper triangle or the
lower triangle is stored.
\end{Description}
\begin{Section}{Objects from the Class}
Objects can be created by calls of the form \code{new("nsyMatrix", ...)}.
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{uplo}:] Object of class \code{"character"}. Must be
either "U", for upper triangular, and "L", for lower triangular.
\item[\code{x}:] Object of class \code{"logical"}. The logical
values that constitute the matrix, stored in column-major order.
\item[\code{Dim},\code{Dimnames}:] The dimension (a length-2
\code{"integer"}) and corresponding names (or \code{NULL}), see the
\code{\LinkA{Matrix}{Matrix.Rdash.class}} class.
\item[\code{factors}:] Object of class \code{"list"}.  A named
list of factorizations that have been computed for the matrix.
}
\end{Section}
\begin{Section}{Extends}
\code{"nsyMatrix"} extends class \code{"ngeMatrix"}, directly, whereas\\
\code{"nspMatrix"} extends class \code{"ndenseMatrix"}, directly.

Both extend class \code{"symmetricMatrix"}, directly,
and class \code{"Matrix"} and others, \emph{in}directly, use
\code{\LinkA{showClass}{showClass}("nsyMatrix")}, e.g., for details.
\end{Section}
\begin{Section}{Methods}
Currently, mainly \code{\LinkA{t}{t}()} and coercion methods (for
\code{\LinkA{as}{as}(.)}; use, e.g.,
\code{\LinkA{showMethods}{showMethods}(class="dsyMatrix")} for details.
\end{Section}
\begin{SeeAlso}\relax
\code{\LinkA{ngeMatrix}{ngeMatrix.Rdash.class}}, \code{\LinkA{Matrix}{Matrix.Rdash.class}},
\code{\LinkA{t}{t}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
(s0 <- new("nsyMatrix"))

(M2 <- Matrix(c(TRUE, NA,FALSE,FALSE), 2,2)) # logical dense (ltr)
(sM <- M2 & t(M2))      # "lge"
class(sM <- as(sM, "nMatrix")) # -> "nge"
     (sM <- as(sM, "nsyMatrix")) # -> "nsy"
str ( sM <- as(sM, "nspMatrix")) # -> "nsp": packed symmetric
\end{ExampleCode}
\end{Examples}

