% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{vec_symm}
\alias{vec_symm}
\title{Symmetric vectorization (SCS convention)}
\usage{
vec_symm(X)
}
\arguments{
\item{X}{A symmetric matrix.}
}
\value{
A numeric vector of length \code{n*(n+1)/2}.
}
\description{
Returns a vectorized representation of a symmetric matrix \code{X},
with off-diagonal entries scaled by sqrt(2) to make the SCS-style
dot product \verb{<vec_symm(A), vec_symm(B)> = trace(A B)} hold.
}
\details{
Mirrors \code{diffcp.cones.vec_symm} (Python).
}
