pub struct Convolutional<K>where
K: PositiveDefiniteKernel,{ /* private fields */ }
Implementations§
Source§impl<K> Convolutional<K>where
K: PositiveDefiniteKernel,
impl<K> Convolutional<K>where
K: PositiveDefiniteKernel,
pub fn new(kernel: K) -> Self
pub fn kernel_ref(&self) -> &K
Trait Implementations§
Source§impl<K> Clone for Convolutional<K>where
K: PositiveDefiniteKernel + Clone,
impl<K> Clone for Convolutional<K>where
K: PositiveDefiniteKernel + Clone,
Source§fn clone(&self) -> Convolutional<K>
fn clone(&self) -> Convolutional<K>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<K> Debug for Convolutional<K>where
K: PositiveDefiniteKernel + Debug,
impl<K> Debug for Convolutional<K>where
K: PositiveDefiniteKernel + Debug,
Source§impl<K> PositiveDefiniteKernel for Convolutional<K>where
K: PositiveDefiniteKernel,
impl<K> PositiveDefiniteKernel for Convolutional<K>where
K: PositiveDefiniteKernel,
fn params_len(&self) -> usize
fn expression( &self, x: Expression, x_prime: Expression, params: &[Expression], ) -> Result<Expression, KernelError>
Auto Trait Implementations§
impl<K> Freeze for Convolutional<K>where
K: Freeze,
impl<K> RefUnwindSafe for Convolutional<K>where
K: RefUnwindSafe,
impl<K> Send for Convolutional<K>
impl<K> Sync for Convolutional<K>
impl<K> Unpin for Convolutional<K>where
K: Unpin,
impl<K> UnwindSafe for Convolutional<K>where
K: 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<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>
Converts
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>
Converts
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 more