KernelType

Trait KernelType 

Source
pub trait KernelType {
    const NAME: &'static str;
    const SUPPORTS_PARAMETER_LEARNING: bool;
    const DEFAULT_BANDWIDTH: f64;
}
Expand description

Phantom type to represent kernel types

Required Associated Constants§

Source

const NAME: &'static str

Name of the kernel type

Source

const SUPPORTS_PARAMETER_LEARNING: bool

Whether this kernel type supports parameter learning

Source

const DEFAULT_BANDWIDTH: f64

Default bandwidth/gamma parameter

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§