pub struct Csrbf42<T> { /* private fields */ }Expand description
The (1-x)^6 (35x^2 + 18x + 3) kernel.
This is a higher order version of the Csrbf31 kernel with similar properties.
Trait Implementations§
impl<T: Copy> Copy for Csrbf42<T>
Source§impl<T: Float> Kernel<T> for Csrbf42<T>
impl<T: Float> Kernel<T> for Csrbf42<T>
Source§fn df_l(&self, x: T) -> T
fn df_l(&self, x: T) -> T
Additional function to ensure proper derivatives at
x = 0.
equivalent to df(x)/x for x != 0.
This function should be well defined at all values of x.Source§fn g(&self, x: T) -> T
fn g(&self, x: T) -> T
Need the following functions for third and fourth HRBF derivaitves Read more
Auto Trait Implementations§
impl<T> Freeze for Csrbf42<T>where
T: Freeze,
impl<T> RefUnwindSafe for Csrbf42<T>where
T: RefUnwindSafe,
impl<T> Send for Csrbf42<T>where
T: Send,
impl<T> Sync for Csrbf42<T>where
T: Sync,
impl<T> Unpin for Csrbf42<T>where
T: Unpin,
impl<T> UnsafeUnpin for Csrbf42<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Csrbf42<T>where
T: UnwindSafe,
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.