Skip to main content

SpatialKernelEvaluator

Trait SpatialKernelEvaluator 

Source
pub trait SpatialKernelEvaluator:
    Send
    + Sync
    + 'static {
    // Required method
    fn eval(&self, x: &[f64], c: &[f64]) -> f64;
}

Required Methods§

Source

fn eval(&self, x: &[f64], c: &[f64]) -> f64

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<F> SpatialKernelEvaluator for Arc<F>
where F: Fn(&[f64], &[f64]) -> f64 + Send + Sync + 'static + ?Sized,

Source§

fn eval(&self, x: &[f64], c: &[f64]) -> f64

Implementors§

Source§

impl<F> SpatialKernelEvaluator for F
where F: Fn(&[f64], &[f64]) -> f64 + Send + Sync + 'static,