\HeaderA{all.equal-methods}{Matrix Methods for Function all.equal()}{all.equal.Rdash.methods}
\aliasA{all.equal,ANY,Matrix-method}{all.equal-methods}{all.equal,ANY,Matrix.Rdash.method}
\aliasA{all.equal,ANY,sparseMatrix-method}{all.equal-methods}{all.equal,ANY,sparseMatrix.Rdash.method}
\aliasA{all.equal,ANY,sparseVector-method}{all.equal-methods}{all.equal,ANY,sparseVector.Rdash.method}
\aliasA{all.equal,Matrix,ANY-method}{all.equal-methods}{all.equal,Matrix,ANY.Rdash.method}
\aliasA{all.equal,Matrix,Matrix-method}{all.equal-methods}{all.equal,Matrix,Matrix.Rdash.method}
\aliasA{all.equal,sparseMatrix,ANY-method}{all.equal-methods}{all.equal,sparseMatrix,ANY.Rdash.method}
\aliasA{all.equal,sparseMatrix,sparseMatrix-method}{all.equal-methods}{all.equal,sparseMatrix,sparseMatrix.Rdash.method}
\aliasA{all.equal,sparseMatrix,sparseVector-method}{all.equal-methods}{all.equal,sparseMatrix,sparseVector.Rdash.method}
\aliasA{all.equal,sparseVector,ANY-method}{all.equal-methods}{all.equal,sparseVector,ANY.Rdash.method}
\aliasA{all.equal,sparseVector,sparseMatrix-method}{all.equal-methods}{all.equal,sparseVector,sparseMatrix.Rdash.method}
\aliasA{all.equal,sparseVector,sparseVector-method}{all.equal-methods}{all.equal,sparseVector,sparseVector.Rdash.method}
\keyword{methods}{all.equal-methods}
\keyword{arith}{all.equal-methods}
\begin{Description}\relax
Methods for function \code{\LinkA{all.equal}{all.equal}()} (from \R{} package
\pkg{base}) are defined for all \code{\LinkA{Matrix}{Matrix.Rdash.class}} classes.
\end{Description}
\begin{Section}{Methods}
\describe{
\item[target = "Matrix", current = "Matrix"] \ 
\item[target = "ANY", current = "Matrix"] \ 
\item[target = "Matrix", current = "ANY"] these three methods are
simply using \code{\LinkA{all.equal.numeric}{all.equal.numeric}} directly and work via
\code{\LinkA{as.vector}{as.vector}()}.
}
\end{Section}
\begin{Examples}
\begin{ExampleCode}
(A <- spMatrix(3,3, i= c(1:3,2:1), j=c(3:1,1:2), x = 1:5))
ex <- expand(lu. <- lu(A))
stopifnot( all.equal(as(A[lu.@p + 1L, lu.@q + 1L], "CsparseMatrix"),
                     lu.@L %*% lu.@U),
           with(ex, all.equal(as(P %*% A %*% Q, "CsparseMatrix"),
                              L %*% U)),
           with(ex, all.equal(as(A, "CsparseMatrix"),
                              t(P) %*% L %*% U %*% t(Q))))
\end{ExampleCode}
\end{Examples}

