21 lines
377 B
R
21 lines
377 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/util.R
|
|
\name{sym}
|
|
\alias{sym}
|
|
\title{Symmetric matrix computed from `A` as
|
|
\eqn{1/2 (A + A^T)}.}
|
|
\usage{
|
|
sym(A)
|
|
}
|
|
\arguments{
|
|
\item{A}{Matrix of dim `(p, q)`}
|
|
}
|
|
\value{
|
|
Symmetric matrix of dim `(p, p)`.
|
|
}
|
|
\description{
|
|
Symmetric matrix computed from `A` as
|
|
\eqn{1/2 (A + A^T)}.
|
|
}
|
|
\keyword{internal}
|