pub struct InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,{ /* private fields */ }
Trait Implementations§
Source§impl<R, F> Add<R> for InstantKernel<F>where
R: PositiveDefiniteKernel,
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
impl<R, F> Add<R> for InstantKernel<F>where
R: PositiveDefiniteKernel,
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
Source§impl<F> Clone for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync + Clone,
impl<F> Clone for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync + Clone,
Source§fn clone(&self) -> InstantKernel<F>
fn clone(&self) -> InstantKernel<F>
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<F> Debug for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
impl<F> Debug for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
Source§impl<R, F> Mul<R> for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
R: PositiveDefiniteKernel,
impl<R, F> Mul<R> for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
R: PositiveDefiniteKernel,
Source§impl<F> PositiveDefiniteKernel for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
impl<F> PositiveDefiniteKernel for InstantKernel<F>where
F: Fn(&Expression, &Expression, &[Expression]) -> Result<Expression, KernelError> + Clone + Send + Sync,
fn expression( &self, x: Expression, x_prime: Expression, params: &[Expression], ) -> Result<Expression, KernelError>
fn params_len(&self) -> usize
Auto Trait Implementations§
impl<F> Freeze for InstantKernel<F>where
F: Freeze,
impl<F> RefUnwindSafe for InstantKernel<F>where
F: RefUnwindSafe,
impl<F> Send for InstantKernel<F>
impl<F> Sync for InstantKernel<F>
impl<F> Unpin for InstantKernel<F>where
F: Unpin,
impl<F> UnwindSafe for InstantKernel<F>where
F: 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