% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read.R
\name{.cbf_svec_scale}
\alias{.cbf_svec_scale}
\title{svec scaling factor: 1 on the diagonal, sqrt(2) off-diagonal.}
\usage{
.cbf_svec_scale(row, col)
}
\arguments{
\item{row}{0-based row index.}

\item{col}{0-based column index.}
}
\value{
Numeric scalar: 1 or sqrt(2).
}
\description{
svec(X)[k] = X[i,i] for diagonal entries and sqrt(2)*X[i,j] for
off-diagonal entries, ensuring <X,Y> = svec(X)' svec(Y).
}
\keyword{internal}
