pub struct JointNullRotation {
pub rotation: Array2<f64>,
pub joint_nullity: usize,
}Expand description
Joint-null absorption rotation, attached to a smooth’s basis when the
basis’s joint penalty Σ_k S_k has a non-trivial null space.
The rotation field stores the orthonormal eigenvector matrix
Q = [U_range | U_null] of the symmetric joint penalty: the first
range_dim = rotation.ncols() - joint_nullity columns span
range(Σ_k S_k); the remaining joint_nullity columns span
null(Σ_k S_k). After the pipeline applies the rotation, the smooth’s
coefficient vector satisfies β = Q · γ, the design becomes X · Q,
and each per-block penalty S_k becomes Qᵀ S_k Q, which is guaranteed
block-diagonal with a zero (joint_nullity × joint_nullity) tail
(because the joint null annihilates every active S_k).
Fields§
§rotation: Array2<f64>(p_smooth × p_smooth) orthonormal matrix; range columns first,
joint-null columns last.
joint_nullity: usizeNumber of columns at the tail of rotation that span the joint
null space. Always > 0 when wrapped in Some — the value 0
is encoded as None.
Trait Implementations§
Source§impl Clone for JointNullRotation
impl Clone for JointNullRotation
Source§fn clone(&self) -> JointNullRotation
fn clone(&self) -> JointNullRotation
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 JointNullRotation
impl Debug for JointNullRotation
Source§impl<'de> Deserialize<'de> for JointNullRotation
impl<'de> Deserialize<'de> for JointNullRotation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for JointNullRotation
impl RefUnwindSafe for JointNullRotation
impl Send for JointNullRotation
impl Sync for JointNullRotation
impl Unpin for JointNullRotation
impl UnsafeUnpin for JointNullRotation
impl UnwindSafe for JointNullRotation
Blanket Implementations§
impl<T> Allocation for T
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
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,
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.