pub enum AnisoSeedMode {
AutoSeedFromGeometry,
Literal,
}Expand description
How the Matérn forward design build interprets an exactly all-zero
aniso_log_scales vector.
Variants§
AutoSeedFromGeometry
All-zero η is the κ-optimizer / scale_dims seeding sentinel: replace
it with geometry-derived contrasts from the knot cloud
([auto_seed_aniso_contrasts]). This is the default for every internal
build entry; the optimizer’s analytic ψ-gradient is computed against the
same auto-seeded design, so value/gradient stay consistent. Note that by
the time the κ-optimizer rebuilds a frozen design the center strategy has
usually been resolved to UserProvided, so center provenance cannot be
used to distinguish this from a genuine literal request — the mode must
be carried explicitly.
Literal
All-zero η is an explicit isotropic request and is honored literally
([centered_aniso_contrasts]): the design reduces to the closed-form
isotropic Matérn and varies continuously through η = 0. The public
matern_basis FFI (and its input-location jet/Hessian) selects this so a
caller’s explicit isotropic request is not hijacked into a data-driven
anisotropic kernel (#1042).
Trait Implementations§
Source§impl Clone for AnisoSeedMode
impl Clone for AnisoSeedMode
Source§fn clone(&self) -> AnisoSeedMode
fn clone(&self) -> AnisoSeedMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AnisoSeedMode
Source§impl Debug for AnisoSeedMode
impl Debug for AnisoSeedMode
impl Eq for AnisoSeedMode
Source§impl PartialEq for AnisoSeedMode
impl PartialEq for AnisoSeedMode
Source§fn eq(&self, other: &AnisoSeedMode) -> bool
fn eq(&self, other: &AnisoSeedMode) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnisoSeedMode
Auto Trait Implementations§
impl Freeze for AnisoSeedMode
impl RefUnwindSafe for AnisoSeedMode
impl Send for AnisoSeedMode
impl Sync for AnisoSeedMode
impl Unpin for AnisoSeedMode
impl UnsafeUnpin for AnisoSeedMode
impl UnwindSafe for AnisoSeedMode
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate 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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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,
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.