pub struct BlockwiseInnerResult {
pub block_states: Vec<ParameterBlockState>,
pub active_sets: Vec<Option<Vec<usize>>>,
pub log_likelihood: f64,
pub penalty_value: f64,
pub cycles: usize,
pub converged: bool,
pub block_logdet_h: f64,
pub block_logdet_s: f64,
pub s_lambdas: Vec<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>>,
pub joint_workspace: Option<Arc<dyn ExactNewtonJointHessianWorkspace>>,
pub kkt_residual: Option<ProjectedKktResidual>,
pub active_constraints: Option<Arc<ActiveLinearConstraintBlock>>,
}Fields§
§block_states: Vec<ParameterBlockState>§active_sets: Vec<Option<Vec<usize>>>§log_likelihood: f64§penalty_value: f64§cycles: usize§converged: bool§block_logdet_h: f64§block_logdet_s: f64§s_lambdas: Vec<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>>Cached assembled penalty matrices S(ρ) = Σ_k exp(ρ_k) S_k per block. Avoids redundant re-assembly in the outer objective evaluation.
joint_workspace: Option<Arc<dyn ExactNewtonJointHessianWorkspace>>§kkt_residual: Option<ProjectedKktResidual>Projected KKT residual at the converged inner iterate, propagated to
the unified evaluator’s InnerAssembly::kkt_residual for the
outer REML/LAML scoring path. None when the solver path doesn’t
produce a typed KKT diagnostic (blockwise NR fallback, eager-stop).
active_constraints: Option<Arc<ActiveLinearConstraintBlock>>Active linear-inequality constraint rows at the converged inner
iterate. When Some, the unified evaluator builds the
constraint-aware kernel K_T = K_S − K_S Aᵀ (A K_S Aᵀ)⁻¹ A K_S
for per-coordinate mode responses v_k = ∂β/∂ρ_k.
Trait Implementations§
Source§impl Clone for BlockwiseInnerResult
impl Clone for BlockwiseInnerResult
Source§fn clone(&self) -> BlockwiseInnerResult
fn clone(&self) -> BlockwiseInnerResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for BlockwiseInnerResult
impl !UnwindSafe for BlockwiseInnerResult
impl Freeze for BlockwiseInnerResult
impl Send for BlockwiseInnerResult
impl Sync for BlockwiseInnerResult
impl Unpin for BlockwiseInnerResult
impl UnsafeUnpin for BlockwiseInnerResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.