% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/assert.R
\name{assert_square}
\alias{assert_square}
\alias{assert_symmetric}
\title{Check Matrix}
\usage{
assert_square(x)

assert_symmetric(x)
}
\arguments{
\item{x}{A \code{\link{matrix}} to be checked.}
}
\value{
Throw an error, if any, and returns \code{x} invisibly otherwise.
}
\description{
Check Matrix
}
\seealso{
Other validation methods: 
\code{\link{assert_constant}()},
\code{\link{assert_data}},
\code{\link{assert_length}()},
\code{\link{assert_lower}()},
\code{\link{assert_names}()},
\code{\link{assert_numeric}},
\code{\link{assert_package}()},
\code{\link{assert_type}()},
\code{\link{validate}()}
}
\author{
N. Frerebeau
}
\concept{validation methods}
