% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reshape.r
\name{reshapes}
\alias{reshapes}
\alias{t,madness-method}
\alias{t}
\alias{tril,madness-method}
\alias{tril}
\alias{triu,madness-method}
\alias{triu}
\alias{dim<-,madness-method}
\alias{dim<-,madness,ANY-method}
\alias{aperm.madness}
\alias{aperm}
\title{Basic Reshape Operations}
\usage{
\S4method{t}{madness}(x)

\S4method{tril}{madness}(x, k = 0)

\S4method{triu}{madness}(x, k = 0)

\S4method{dim}{madness}(x) <- value

\method{aperm}{madness}(a, perm = NULL, resize = TRUE, ...)
}
\arguments{
\item{x}{\code{madness} object.}

\item{k}{the index of the diagonal number from which to extract.\code{madness} object.}

\item{value}{an array of the new dimensions of the object value.}

\item{a}{the array to be transposed.}

\item{perm}{the subscript permutation vector, usually a permutation of
    the integers \code{1:n}, where \code{n} is the number of dimensions
    of \code{a}.  When \code{a} has named dimnames, it can be a
    character vector of length \code{n} giving a permutation of those
    names. The default (used whenever \code{perm} has zero length) is to
    reverse the order of the dimensions.}

\item{resize}{a flag indicating whether the vector should be
    resized as well as having its elements reordered (default \code{TRUE}).}

\item{...}{optional arguments passed to methods, currently unused
    by package \pkg{Matrix}.}
}
\description{
Basic Reshape Operations
}
\seealso{
\code{\link{vec}}, \code{\link{todiag}}
}
\author{
Steven E. Pav \email{shabbychef@gmail.com}
}
