% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_B.R
\name{.build_lambda_block}
\alias{.build_lambda_block}
\title{Build Block-Diagonal Penalty Matrix}
\usage{
.build_lambda_block(Lambda, K, unique_penalty_per_partition, L_partition_list)
}
\arguments{
\item{Lambda}{Shared \eqn{p \times p} penalty matrix.}

\item{K}{Integer; number of interior knots (\eqn{K+1} partitions).}

\item{unique_penalty_per_partition}{Logical; if \code{TRUE}, add
\code{L_partition_list[[k]]} to the \eqn{k}-th diagonal block.}

\item{L_partition_list}{List of partition-specific \eqn{p \times p}
penalty matrices.}
}
\value{
A \eqn{P \times P} block-diagonal matrix where
  \eqn{P = p \times (K+1)}.
}
\description{
Thin wrapper around \code{.solver_build_lambda_block()}.
Keeping the local helper name preserves existing call sites in
\code{get_B()} while centralizing the shared implementation in
\code{solver_utils.R}.
}
\keyword{internal}
