pub enum BasisDerivativeScaleLaw {
InverseCoordinatePower {
maximum_order: usize,
},
InverseCoordinatePowerAndInvariantLogRange {
maximum_order: usize,
},
ConstantCurvatureParameterPowers,
IntrinsicAngularChainRule,
NumericModulationProductRule,
DelegatedToInner,
TensorMarginalProductRule {
maximum_order: usize,
},
}Expand description
Transformation of analytic input/hyperparameter derivatives.
Variants§
InverseCoordinatePower
An order-q coordinate derivative transforms as D'^q = a^-q D^q.
InverseCoordinatePowerAndInvariantLogRange
The same coordinate law, while derivatives in log(kappa)=-log(ell)
remain invariant under ell -> a*ell.
ConstantCurvatureParameterPowers
Under kappa'=kappa/a^2, first and second derivatives with respect to
the numeric curvature coordinate gain factors a^2 and a^4.
IntrinsicAngularChainRule
Derivatives live in the intrinsic angular chart; changing degrees to radians applies the ordinary inverse unit-conversion chain rule.
NumericModulationProductRule
Wrapper derivatives obey the product rule with the numeric multiplier.
DelegatedToInner
Discrete gates/replications introduce no derivative coordinate.
TensorMarginalProductRule
Tensor partial derivatives take the inverse power on the differentiated margin and multiply the invariant values of all other margins.
Trait Implementations§
Source§impl Clone for BasisDerivativeScaleLaw
impl Clone for BasisDerivativeScaleLaw
Source§fn clone(&self) -> BasisDerivativeScaleLaw
fn clone(&self) -> BasisDerivativeScaleLaw
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 BasisDerivativeScaleLaw
Source§impl Debug for BasisDerivativeScaleLaw
impl Debug for BasisDerivativeScaleLaw
impl Eq for BasisDerivativeScaleLaw
Source§impl PartialEq for BasisDerivativeScaleLaw
impl PartialEq for BasisDerivativeScaleLaw
impl StructuralPartialEq for BasisDerivativeScaleLaw
Auto Trait Implementations§
impl Freeze for BasisDerivativeScaleLaw
impl RefUnwindSafe for BasisDerivativeScaleLaw
impl Send for BasisDerivativeScaleLaw
impl Sync for BasisDerivativeScaleLaw
impl Unpin for BasisDerivativeScaleLaw
impl UnsafeUnpin for BasisDerivativeScaleLaw
impl UnwindSafe for BasisDerivativeScaleLaw
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.