#[non_exhaustive]pub struct MfaceCovResult {
pub block_cov: FdMatrix,
pub grids: Vec<Vec<f64>>,
pub offsets: Vec<usize>,
}Expand description
Multivariate FACE block covariance across several sparse variables.
Returned by mface_covariance. Carries the full (G_total × G_total) block
covariance where G_total = Σ_p grids[p].len(). The block for variable pair
(p, q) occupies rows offsets[p] .. offsets[p] + grids[p].len() and columns
offsets[q] .. offsets[q] + grids[q].len() of block_cov.
Diagonal blocks are the per-variable face_covariance; off-diagonal blocks
are the cross-variable covariance (symmetric: block (q, p) is block (p, q)
transposed). Use block to extract a sub-block.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.block_cov: FdMatrixThe full (G_total × G_total) block covariance matrix (column-major).
grids: Vec<Vec<f64>>The per-variable evaluation grids (one per variable, in order).
offsets: Vec<usize>Row/column start offset of each variable’s block: offsets[p] = Σ_{k<p} grids[k].len().
Implementations§
Trait Implementations§
Source§impl Clone for MfaceCovResult
impl Clone for MfaceCovResult
Source§fn clone(&self) -> MfaceCovResult
fn clone(&self) -> MfaceCovResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MfaceCovResult
impl Debug for MfaceCovResult
Source§impl PartialEq for MfaceCovResult
impl PartialEq for MfaceCovResult
impl StructuralPartialEq for MfaceCovResult
Auto Trait Implementations§
impl Freeze for MfaceCovResult
impl RefUnwindSafe for MfaceCovResult
impl Send for MfaceCovResult
impl Sync for MfaceCovResult
impl Unpin for MfaceCovResult
impl UnsafeUnpin for MfaceCovResult
impl UnwindSafe for MfaceCovResult
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
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> 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> ⓘ
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> ⓘ
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,
impl<T> Scalar for T
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.