% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_B.R
\name{.detect_qp_global}
\alias{.detect_qp_global}
\title{Detect Whether Inequality Constraints Require Global (Dense) QP}
\usage{
.detect_qp_global(qp_Amat, p_expansions, K)
}
\arguments{
\item{qp_Amat}{Inequality constraint matrix (\eqn{P \times n_{ineq}}),
or \code{NULL}.}

\item{p_expansions}{Integer; number of basis terms per partition.}

\item{K}{Integer; number of interior knots.}
}
\value{
Logical; \code{TRUE} if dense QP is needed, \code{FALSE} if
  partition-wise active-set is valid.
}
\description{
Thin wrapper around \code{.solver_detect_qp_global()}.
This preserves the original helper name inside \code{get_B()} while
using the shared detection logic defined in \code{solver_utils.R}.
}
\keyword{internal}
