pub enum RadialInputKernel {
Matern {
length_scale: f64,
nu: MaternNu,
},
DuchonHybrid {
length_scale: f64,
p_order: usize,
s_order: usize,
dim: usize,
},
DuchonPure {
block_order: usize,
p_order: usize,
s_order: usize,
dim: usize,
},
ThinPlate {
length_scale: f64,
dim: usize,
},
}Expand description
Closed-form parameterisation of the radial families supported by the input-location derivative routines below.
This is a thin convenience over [RadialScalarKind] (which itself is a
crate-internal enum carrying the same parameters). The public layer here
is kept as a separate type so that downstream consumers — including the
Python pyffi layer that will surface LatentCoord — can construct kernel
descriptors without poking at pub(crate) items.
Variants§
Matern
Matérn isotropic kernel with closed-form (½, 3⁄2, 5⁄2, 7⁄2, 9⁄2)-ν.
DuchonHybrid
Hybrid Duchon kernel ||w||^(2p) · (κ² + ||w||²)^s.
DuchonPure
Pure scale-free Duchon kernel (single polyharmonic block of the
given order). Equivalent to DuchonHybrid with s_order = 0 and no
finite length scale.
ThinPlate
Thin-plate spline kernel with explicit length-scale (used by the
1-D thin-plate streaming path; for the general d-D thin-plate this
coincides with the polyharmonic Duchon kernel of order m_d).
Implementations§
Trait Implementations§
Source§impl Clone for RadialInputKernel
impl Clone for RadialInputKernel
Source§fn clone(&self) -> RadialInputKernel
fn clone(&self) -> RadialInputKernel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for RadialInputKernel
impl RefUnwindSafe for RadialInputKernel
impl Send for RadialInputKernel
impl Sync for RadialInputKernel
impl Unpin for RadialInputKernel
impl UnsafeUnpin for RadialInputKernel
impl UnwindSafe for RadialInputKernel
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,
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.