Struct opensrdk_kernel_method::instant::InstantKernel
source · pub struct InstantKernel<T, F>where
T: Value,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<T, R, F> Add<R> for InstantKernel<T, F>where
T: Value,
R: PositiveDefiniteKernel<T>,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,
impl<T, R, F> Add<R> for InstantKernel<T, F>where
T: Value,
R: PositiveDefiniteKernel<T>,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync,
source§impl<T, F> Clone for InstantKernel<T, F>where
T: Value + Clone,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync + Clone,
impl<T, F> Clone for InstantKernel<T, F>where
T: Value + Clone,
F: Fn(&[f64], &T, &T) -> Result<f64, KernelError> + Clone + Send + Sync + Clone,
source§fn clone(&self) -> InstantKernel<T, F>
fn clone(&self) -> InstantKernel<T, F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more