% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict-cl.R
\name{.hzr_predict_jacobian_multiphase}
\alias{.hzr_predict_jacobian_multiphase}
\title{Jacobian of multiphase cumulative-hazard predictions}
\usage{
.hzr_predict_jacobian_multiphase(
  theta,
  time,
  phases,
  covariate_counts,
  x_list,
  p,
  per_phase = FALSE
)
}
\arguments{
\item{theta}{MLE parameter vector.}

\item{time}{Prediction times (length n).}

\item{phases}{Named list of \code{hzr_phase} objects.}

\item{covariate_counts}{Named integer vector.}

\item{x_list}{Named list of per-phase design matrices.}

\item{p}{Length of theta.}

\item{per_phase}{Logical; if \code{TRUE}, return a named list of per-phase
\verb{n x p} Jacobians (each with only that phase's columns nonzero) instead
of their sum.}
}
\value{
Numeric \verb{n x p} Jacobian of \code{H(t|x)} (default), or a named list of
per-phase \verb{n x p} Jacobians when \code{per_phase = TRUE}.
}
\description{
Only \code{cumulative_hazard} and \code{survival} are delegated here -- \code{hazard}
and \code{linear_predictor} are rejected upstream for multiphase models.
}
\keyword{internal}
