% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/HelperFunctions.R
\name{compute_dGhalf}
\alias{compute_dGhalf}
\title{Compute Eigen-Based Square-Root Factors for \eqn{d\textbf{G}/d\lambda}}
\usage{
compute_dGhalf(
  dG_dlambda,
  p_expansions,
  K,
  parallel,
  cl,
  chunk_size,
  num_chunks,
  rem_chunks
)
}
\arguments{
\item{dG_dlambda}{List of \eqn{p \times p} \eqn{d\textbf{G}/d\lambda} matrices by partition}

\item{p_expansions}{Integer; number of columns per partition}

\item{K}{Integer; number of interior knots (\eqn{K})}

\item{parallel, cl, chunk_size, num_chunks, rem_chunks}{Parallel computation parameters}
}
\value{
List of \eqn{p \times p} eigen-based square-root factors derived from
  the partition-wise \eqn{d\textbf{G}/d\lambda} matrices
}
\description{
Applies an eigendecomposition-based matrix square root to each partition-wise
\eqn{d\textbf{G}/d\lambda} matrix after replacing \code{NA} entries with 0
and treating all-0 inputs with an identity fallback.
}
\keyword{internal}
