dot-bf_assemble_qp_info: Assemble qp_info from a solve.QP Solution

.bf_assemble_qp_infoR Documentation

Assemble qp_info from a solve.QP Solution

Description

Thin wrapper around .solver_assemble_qp_info(). Keeping the local helper name avoids changing the public return shape or downstream references inside blockfit_solve().

Usage

.bf_assemble_qp_info(
  last_qp_sol,
  beta_block,
  qp_Amat_combined,
  qp_bvec_combined,
  qp_meq_combined,
  converged,
  final_deviance,
  info_matrix = NULL
)

Arguments

last_qp_sol

Output of quadprog::solve.QP, or NULL.

beta_block

Final coefficient vector.

qp_Amat_combined

Combined constraint matrix.

qp_bvec_combined

Combined constraint RHS.

qp_meq_combined

Number of equalities.

converged

Logical.

final_deviance

Scalar.

info_matrix

Information matrix (non-GEE path only; NULL otherwise).

Value

A list suitable for the qp_info slot, or NULL if last_qp_sol is NULL.


lgspline documentation built on Aug. 5, 2026, 1:10 a.m.